View Single Post
  #1  
Old 28th March 2013, 14:54
darinpeterson darinpeterson is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Posts: 153
Thanks: 35
Thanked 13 Times in 13 Posts
Default Mail Server Memory Allocation Problems and Table Lookup Issues

I have installed an OpenVZ server on Debian Squeeze. The virtual server has 8GB RAM, 586GB hard disk space, and I'm having forking issues with amavis. At times I go into the virtual server using vzctl enter mail, and begin getting fork errors right away.

Additionally there seems to be a lock issue with mysql.

Here are the results of: netstat -tap | grep mysql
root@mail:/# netstat -tap | grep mysql
tcp 0 0 *:mysql *:* LISTEN 1393/mysqld
tcp 0 0 localhost:34323 localhost:mysql ESTABLISHED 2090/smtp
tcp 0 0 localhost:mysql localhost:34322 ESTABLISHED 1393/mysqld
tcp 0 0 mail.domain:52579 www.domain.:mysql TIME_WAIT -
tcp 0 0 localhost:mysql localhost:34326 ESTABLISHED 1393/mysqld
tcp 0 0 localhost:34322 localhost:mysql ESTABLISHED 2089/smtp
tcp 0 0 localhost:mysql localhost:34323 ESTABLISHED 1393/mysqld
tcp 0 0 localhost:34326 localhost:mysql ESTABLISHED 2094/error

Here is the tail of my mail error log:
Mar 28 09:23:31 mail postfix/trivial-rewrite[1334]: fatal: proxy:mysql:/etc/postfix/mysql-virtual_domains.cf(0,lock|fold_fix): table lookup problem
Mar 28 09:23:33 mail postfix/trivial-rewrite[1413]: fatal: proxy:mysql:/etc/postfix/mysql-virtual_domains.cf(0,lock|fold_fix): table lookup problem

I don't understand why I'm still having issues with 8GB of memory allocated:
root@mail:/# free
total used free shared buffers cached
Mem: 8388608 582428 7806180 0 0 0
-/+ buffers/cache: 582428 7806180
Swap: 0 0 0

Can anyone help?

Thanks,
Darin
Reply With Quote
Sponsored Links