Linux - ServerThis 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.
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.
Hope I can get some help here as this is doing my head in... I have a Root Server with EasySpace running Plesk 8.6, on Centos 4.6 Linux.
I was trying to trouble shoot a PHP form which was sending mail a couple of days ago, and 18 test messages dropped into my Gmail inbox this morning at 3:17! The form and email account are both on the same server, so it's not as though anything external has affected things. I also had another client on the server report a similar issue, although some domain names and email addresses are working without any problems. There haven't been any bounce messages either...
Following up my post earlier, I figured my problem is something to do with DrWeb anti-virus... The next problem is that this is grinding my server to a complete halt (almost).
Last I know of the load average was when it hit 61.73, before that window froze... Fortunately I've got another window open, but it's taking about 90 seconds to even register my key-presses and show this back to me.
The problem is that DrWeb/Qmail has spiralled out of control, and I need to stop it - fast! I don't have physical access to the machine, and unfortunately the guys at the hosting company went home an hour ago.
So I'm up sh*t creek... Anyone got a paddle? Or maybe some ideas of how to wrestle this beast back into control?!
Sounds to me like spam and or related queuing issues. I had to deal with issues like this with qmail a few years back. Our solution ended up upgrading to postfix. We actually had some or a few scripts that would help us if we caught the problem early enough to clear the queues, etc, but most of the time it would spiral out of control and really the only thing we found to do was to reboot the machine.
Sorry I don't have much else to offer but if the guys that have physical access are gone, doesn't sound like great support to me, you'll probably save yourself the agonizing pain of waiting and waiting between keystrokes by just rebooting, then diagnosing the problem further by reviewing the logs, etc.
And I'm serious about upgrading to postfix, it is superior to qmail, don't let anyone else argue that, everything is better than qmail, the U.S. postal service is a better alternative to qmail. Sorry, I'm bitter from my experiences with qmail.
Thanks for the feedback, trickykid. I will certainly look at changing things on the server after this as Qmail has officially p*ssed me off too. Unfortunately for me, it's what Plesk bundle in and keeping things standard makes life easier for us web guys (in theory).
I've been sat here for 30 minutes just trying to get the server to do a hard reboot - I've just issued the following commands so will hang-tight and see what happens:
Quote:
echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger
And if this doesn't work, I'm going to go home and deal with a server-full of angry clients in the morning. (
Yeah, when a system is making it impossible to even diagnose and nothing is really working anyways, a reboot never hurts to hopefully get it back to a sane state so you can at least keep from pulling your hair out while determining the problem.
OK, I eventually got the thing rebooted and it's not stabilized on the load so I can try and figure out my original issue and see why Plesk and DrWeb have broken...
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Is it normal for the system to generate that many e-mail messages? Is it possible that some spammers are abusing the PHP scripts to try to send spam through your server?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.