Plesk Postfix Mail Server 9.5.4 very heavy load, 1000s of processes

Posted by Eugene van der Merwe on Server Fault See other posts from Server Fault or by Eugene van der Merwe
Published on 2012-03-19T12:27:36Z Indexed on 2012/03/26 23:32 UTC
Read the original article Hit count: 285

Filed under:
|

Our Plesk Linux Ubuntu 64-bit mail server has extremely high load and we don't know how to isolate it. The load was okay will two weeks ago but in the last two weeks it's seriously deteriorated.

The mail server has been running for years and we have had sporadic performance issues. Normally we reduce the load by turning off all SPAM checks until the problem is sorted (which sometimes resolves itself).

Currently we have turned of real time block lists, SPF checking and we have attempted to turn off SpamAssassin.

  1. No matter what we do the SpamAssassin check box stays ticked in the GUI. Out of desperation we have done /etc/init.d/psa-spamassassin stop. For years we haven't been able to do SpamAssassin because it kills the server. We would like to use it but performance is more important for now.

  2. We cannot turn off Greylisting. The moment we turn off Greylisting our help desk is inandated with calls. Out of desperation we investigated truncating the Greylisting database which is now 2.5 GB big but we abandoned this after noticing turning of Greylisting doesn't improve the performance at all.

  3. We have no anti-virus. It's just more load and Dr. Web never really worked that well for us. But we'll try that if it will make a difference.

  4. We have implemented Postfix Anvil. This seems to have made the situation worse so we disabled it. We’re not sure if this is the case.

  5. Our current mail server is configured to forward all SMTP to a relay server. We did so to reduce the load. This helped a lot because outgoing queues are generally empty.

  6. We are running in an Expand configuration. The mail server has about 12 000 accounts of which maybe half are active.

We have read through this document: http://www.postfix.org/STRESS_README.html but there are too many settings and we don’t know which ones to choose.

Please assist urgently. We need advice on how to fix this problem before all our clients abandon is.

The only clue we have is that there are 100s of these processes:

30 13205 1 0 13:18 ? 00:00:00 /usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10027 before-queue 30
13207 1 0 11:38 ? 00:00:00 /usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10027 before-queue 30
13208 1 0 13:18 ? 00:00:00 /usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10026 before-remote 30
13209 1 0 11:38 ? 00:00:00 /usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10026 before-remote 30
13213 1 0 13:18 ? 00:00:00 /usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10027 before-queue

© Server Fault or respective owner

Related posts about postfix

Related posts about load