Knowledgebase

Exim eating up a lot of Resources.. Please Help

Posted by rungss, 03-27-2009, 04:57 PM
Hello there. We have a Dedicated Hosting Account running with the following configuration: ----------------------------------------------------------- QTY Hardware Component 1 Supermicro \ Dual Xeon SATA \ X5DPA-TGM 2 Intel \ 2.4 GHz 533FSB \ P4 Xeon 4 Generic \ 512 MB \ DDR 266 ECC Reg 2 Western Digital \ 160GB:IDE:7200rpm \ 160GB 1 Unknown \ Onboard \ IDE Installed Software - Urchin Urchin 5 - Redhat Enterprise Linux - OS ES 4.0 - cPanel, Inc. cPanel STABLE ----------------------------------------------------------- We are using Exim for the mail server. The Server Load reaches upto 35-40.00 every now and then and apparently Exim eats up most of the Resources. I am attaching a few Screens with the output of Command line top and the WHM Process Manager. You can see there are a lot of exim Processes/threads running. Can anyone help me figure out the couse of the issue and advise me as to how to Optimize the Server for this. Thanks for your Time. Regards, Bijay Rungta IT Consultant ------------------------------------------

Posted by you86, 03-27-2009, 05:04 PM
most of the processes are by mailnull user, it means some of your customer is sending large number of emails using any php script.. you can run below command to check the exim mail que # exim -bpc # exim -bp | exiqsumm - if you want to see summary of emails run # exim -qff to clean mail queue run # exim -qff -d9 to do debug while cleaning i hope this will help Last edited by you86; 03-27-2009 at 05:09 PM.

Posted by rungss, 03-27-2009, 05:18 PM
Thanks you86 for your Quick Reply. I have been monitoring the email Queue for quite a few Days now by using the Commands related to Queue, but didn't try the debugging and cleaning Option. Will try that and update with the result.. Thanks, Bijay

Posted by net, 03-27-2009, 08:35 PM
You need to properly optimize your exim configuration and put some spam filters on it as this will help with the load.

Posted by datums, 03-29-2009, 12:17 PM
Look into adding outbound spam filtering and proper monitoring of your server so that you can be pro active in the resolution of this problem

Posted by rungss, 04-01-2009, 02:40 PM
net, @datuns Thanks for the Response. What do you suggest for Monitoring... Any Software or manual??? I have seen a lot of emails with sender name as empty ignore_bounce_errors_after Use: main Type: time Default: 10w From Exim Documentation: After a permanent delivery failure, bounce messages are frozen, because there is no sender to whom they can be returned. When a frozen bounce message has been on the queue for more than the given time, it is unfrozen at the next queue run, and a further delivery is attempted. If delivery fails again, the bounce message is discarded. This makes it possible to keep failed bounce messages around for a shorter time than the normal maximum retry time for frozen messages. I have noticed that the number of mails with such conditions are getting flooded within an hour of cleaning them I am providing the our Server's Exim Configuration. I feel just Having a glimpse at the file will give you a clue as to what should be most obvious changes that we should make optimize it. Please provide suggestions and insights. Cheers, Bijay



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Powervps Down? (Views: 670)
webhostingworld.net (Views: 550)


Language:

Client Login

Email

Password

Remember Me

Search