G
gnosis
Guest
I have a problem with qmail-smtpd running up a bunch of processes that are consuming full cpu. I have no idea what's causing this. Here's an example top:
There are often more than a dozen, sometimes more. If I take steps to shut them all down, another will start with 100% cpu and then divide until there are many, always using as much cpu as possible.
Stopping qmail service doesn't stop them. Stopping xinetd does.
This is a new install of centos 4.3 with a Plesk control panel on it. I've run several of these for years and never seen anything like this.
The mail queues remain empty and I can see no indication that the server is sending out spam. Relaying is closed. Incoming connections are steady, but relatively low...about 15-30 per minute.
The server does continue to send and receive mail properly, if slightly delayed.
I am a little worried about a compromise, however, because for the past two days, my logwatch reports have suddenly failed to include several sections that would normally be there (pam_unix, Connections (secure-log), and sshd).
Does anyone have any ideas on how I can troubleshoot this?
Code:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28141 qmaild 25 0 4600 1376 1168 R 27 0.1 0:28.09 qmail-smtpd
27851 qmaild 25 0 4708 1372 1168 R 26 0.1 1:23.48 qmail-smtpd
28268 qmaild 25 0 3948 1372 1168 R 24 0.1 0:05.79 qmail-smtpd
27507 qmaild 25 0 4468 1372 1168 R 23 0.1 1:56.58 qmail-smtpd
28244 qmaild 25 0 4520 1372 1168 R 20 0.1 0:06.82 qmail-smtpd
28045 qmaild 25 0 3820 1376 1168 R 20 0.1 0:48.50 qmail-smtpd
28117 qmaild 25 0 3724 1372 1168 R 20 0.1 0:33.20 qmail-smtpd
28118 qmaild 25 0 4452 1372 1168 R 20 0.1 0:33.59 qmail-smtpd
28163 qmaild 25 0 5200 1380 1168 R 20 0.1 0:25.30 qmail-smtpd
Stopping qmail service doesn't stop them. Stopping xinetd does.
This is a new install of centos 4.3 with a Plesk control panel on it. I've run several of these for years and never seen anything like this.
The mail queues remain empty and I can see no indication that the server is sending out spam. Relaying is closed. Incoming connections are steady, but relatively low...about 15-30 per minute.
The server does continue to send and receive mail properly, if slightly delayed.
I am a little worried about a compromise, however, because for the past two days, my logwatch reports have suddenly failed to include several sections that would normally be there (pam_unix, Connections (secure-log), and sshd).
Does anyone have any ideas on how I can troubleshoot this?