Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-23-2011, 06:52 AM
|
#1
|
Member
Registered: Apr 2011
Posts: 397
Rep:
|
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.
|
|
|
06-24-2011, 04:31 AM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,280
|
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?
|
|
|
06-24-2011, 05:02 AM
|
#3
|
Member
Registered: Apr 2011
Posts: 397
Original Poster
Rep:
|
i cant understand what you written...and what box?..
pls explain in easy term
|
|
|
06-25-2011, 03:58 AM
|
#4
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,280
|
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.
|
|
|
06-25-2011, 04:46 AM
|
#5
|
Member
Registered: Apr 2011
Posts: 397
Original Poster
Rep:
|
so what should i do for getting from hang...to avoid reboot the server
|
|
|
06-26-2011, 12:28 PM
|
#6
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,280
|
Either pass exact detail of the setup or split the load
qmail & clamav - box 1
spamassassin & mailboxes, etc box 2
|
|
|
06-27-2011, 12:06 AM
|
#7
|
Member
Registered: Apr 2011
Posts: 397
Original Poster
Rep:
|
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.
|
|
|
06-28-2011, 03:57 AM
|
#8
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,280
|
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.
|
06-29-2011, 02:17 AM
|
#9
|
Member
Registered: Apr 2011
Posts: 397
Original Poster
Rep:
|
@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...
|
|
|
06-29-2011, 05:34 AM
|
#10
|
Senior Member
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125
|
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 05:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|