LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   overloading problem in mailserver (https://www.linuxquestions.org/questions/linux-server-73/overloading-problem-in-mailserver-887908/)

centos123 06-23-2011 05:52 AM

overloading problem in mailserver
 
iam handling mail server in redhat.MTA using is qmail.since last 1 month it get overload and get hang...since in morning its time for user to loging into mail through web interface.though suddenly login in to mail it get overload and server got hang.we need to restart the server...
did not get time to kill https also
some time MP port work to save us...
still didnot get command to overcome the over load in server...

business_kid 06-24-2011 03:31 AM

When I grabbed qmail(1998?) the docs talked of setting up a 386/16 with pitiful ram as mail server for red hat's mailing lists which is a serious load. No delays, even at peak time. Procmail, spamassassin, or perhaps clamav will bring a box to it's knees all right, but I unless something is awol, qmail shouldn't under any normal load. Is the web server on the same box? Have you a behemoth like mailman running?

centos123 06-24-2011 04:02 AM

i cant understand what you written...and what box?..
pls explain in easy term

business_kid 06-25-2011 02:58 AM

I mentioned red hat to show that qmail itself doesn't usually load a box much.

Procmail does
Spamassassin does
clamav probably does

Each mail is going to have a qmail processes, a clamav process, a spamc process, & procmail process as well if you deliver. Clamav holds signatures in ram, spamassassin holds rule sets & perl libs in ram. You can load up a box very quickly that way. There may be nothing wrong, it could just be overloaded.

centos123 06-25-2011 03:46 AM

so what should i do for getting from hang...to avoid reboot the server

business_kid 06-26-2011 11:28 AM

Either pass exact detail of the setup or split the load

qmail & clamav - box 1
spamassassin & mailboxes, etc box 2

centos123 06-26-2011 11:06 PM

qmail clamav ,spamassassian.php mysql,mailscanner,webserver(portal),mail this all are configured in server how should i distribute the load among box...can you please give brief iam new in linux.

business_kid 06-28-2011 02:57 AM

Without trying to be funny, the job you mention is a day's work for a sysadmin, and you expect me to tell you in one forum post.
try http://www.lifewithqmail.org

centos123 06-29-2011 01:17 AM

@business kid
what did you mean by box1 and box2?
is it means server....and i am not having much knowledge about mail server.what ever i knows is from google and some my experince.so kindly be cool in solving problem...

Noway2 06-29-2011 04:34 AM

Quote:

what did you mean by box1 and box2?
What business_kid is saying is that it appears that qmail + ClamAV + spamassassin + some delivery agent seems to be too much for your machine to handle. In their experience, qmail should be able to handle a very large load, but clamav and spamassassin may not, i.e. "bring the box (computer) to its knees", in other words, weigh it down and over load it.

The suggestion was to split the mail service up into to servers. Have one server perform the MTA functions of SMTP and virus scanning, with qmail and Clamav. Have the second server handle delivery of the mail, such as POP/IMAP and have it perform the content filtering using Spamassassin. How to implement this, in detail, would be covered in the life with qmail book.


All times are GMT -5. The time now is 10:23 PM.