LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-23-2011, 06:52 AM   #1
centos123
Member
 
Registered: Apr 2011
Posts: 397

Rep: Reputation: 16
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...

Last edited by centos123; 06-23-2011 at 06:54 AM.
 
Old 06-24-2011, 04:31 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,280

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
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?
 
Old 06-24-2011, 05:02 AM   #3
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
i cant understand what you written...and what box?..
pls explain in easy term
 
Old 06-25-2011, 03:58 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,280

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
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.
 
Old 06-25-2011, 04:46 AM   #5
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
so what should i do for getting from hang...to avoid reboot the server
 
Old 06-26-2011, 12:28 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,280

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Either pass exact detail of the setup or split the load

qmail & clamav - box 1
spamassassin & mailboxes, etc box 2
 
Old 06-27-2011, 12:06 AM   #7
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
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.
 
Old 06-28-2011, 03:57 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,280

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
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
 
0 members found this post helpful.
Old 06-29-2011, 02:17 AM   #9
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
@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...
 
Old 06-29-2011, 05:34 AM   #10
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd problem and caused my httpd to shut-down golpemortal Linux - Server 2 04-08-2007 04:44 AM
problem compiling with overloading method 'operator<<' freeindy Programming 4 04-29-2005 09:58 AM
Operator Overloading problem ashwinipahuja Programming 1 06-23-2004 06:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration