Re: qmail and Hight CPU
Once you get the CPU back to normal, could you test to see if the latest vpopmail devel release causes the same problem? I had changed the signal code in vpopmail to hopefully work with supervised systems. I don't have supervise running on any of my test machines, so I can't test it. Ken Jones Manvendra Bhangui wrote: > > root 1096 0.8 0.2 1336 348 ?SJul10 15:40 supervise > qmail-imapd > > You have a problem with your supervise supvervising imapd. It could be if > you have alread started the imapd outside supervise and hence supervise is > not able to start it (bind address already in use). If the run script exits > because of such reasons, supervise will keep on trying to execute the run > script and in the process consume CPU. To test this out just cd to the > directory i.e. /service/qmail-imapd > and execute ./run manually and see what happens > - Original Message - > From: "Miranda Gomez Miguel Angel" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, July 12, 2001 1:04 AM > Subject: qmail and Hight CPU > > > Im having a problem, my cpu looks pretty busy and i dont have many > > concurrent connections, this is the output of "ps aux" > > > > root 1081 0.0 0.2 1372 376 ?SJul10 0:00 svscan > > root 1089 0.0 0.2 1336 348 ?SJul10 0:00 supervise > > qmail-send > > root 1090 0.0 0.2 1336 348 ?SJul10 0:00 supervise > log > > root 1092 0.0 0.2 1336 348 ?SJul10 0:00 supervise > > qmail-smtpd > > root 1093 0.0 0.2 1336 348 ?SJul10 0:00 supervise > log > > root 1094 0.0 0.2 1336 348 ?SJul10 0:00 supervise > > qmail-pop3d > > root 1095 0.0 0.2 1336 348 ?SJul10 0:00 supervise > log > > root 1096 0.8 0.2 1336 348 ?SJul10 15:40 supervise > > qmail-imapd > > qmails1098 0.0 0.3 1392 432 ?SJul10 0:00 qmail-send > > < WHAT IS THIS ?? > > qmaild1100 0.0 0.4 1408 516 ?SJul10 0:00 > > /usr/local/bin/tcpserver -v -H -P -R -l 0 -x /etc/tcp.smtp.cdb -c 20 > > qmaill1103 0.0 0.3 1352 392 ?SJul10 0:00 > > /usr/local/bin/multilog t /var/log/qmail > > root 1104 0.0 0.2 1348 368 ?SJul10 0:00 > qmail-lspawn > > ./Maildir/ > > qmailr1105 0.0 0.2 1348 368 ?SJul10 0:00 > qmail-rspawn > > qmailq1106 0.0 0.2 1340 376 ?SJul10 0:00 qmail-clean > > > > > > > > there are 2 qmail-send proceses, one supervised and one alone. I did > > configure the qmail like LWQ, so there are a qmail script in init.d and > S*** > > links in 12345 levels, i also have a qmail-send directory under > /service.Is > > this wrong ?? > > > > look at the "sar" output screen > > > > 12:01:00 PM CPU %user %nice %system %idle > > 12:11:00 PM all 46.98 0.00 53.01 0.01 > > 12:21:00 PM all 47.38 0.00 52.61 0.01 > > 12:31:00 PM all 47.31 0.00 52.68 0.01 > > 12:41:00 PM all 47.35 0.00 52.64 0.01 > > 12:51:00 PM all 47.19 0.00 52.81 0.00 > > 01:01:00 PM all 47.24 0.00 52.75 0.01 > > 01:11:00 PM all 46.78 0.00 53.21 0.01 > > 01:21:00 PM all 47.21 0.00 52.78 0.01 > > Average: all 47.18 0.00 52.81 0.01 > > > > > > Sorry for my english, thanks in advance > > _ > > Do You Yahoo!? > > Get your free @yahoo.com address at http://mail.yahoo.com
Re: qmail and Hight CPU
root 1096 0.8 0.2 1336 348 ?SJul10 15:40 supervise qmail-imapd You have a problem with your supervise supvervising imapd. It could be if you have alread started the imapd outside supervise and hence supervise is not able to start it (bind address already in use). If the run script exits because of such reasons, supervise will keep on trying to execute the run script and in the process consume CPU. To test this out just cd to the directory i.e. /service/qmail-imapd and execute ./run manually and see what happens - Original Message - From: "Miranda Gomez Miguel Angel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 12, 2001 1:04 AM Subject: qmail and Hight CPU > Im having a problem, my cpu looks pretty busy and i dont have many > concurrent connections, this is the output of "ps aux" > > root 1081 0.0 0.2 1372 376 ?SJul10 0:00 svscan > root 1089 0.0 0.2 1336 348 ?SJul10 0:00 supervise > qmail-send > root 1090 0.0 0.2 1336 348 ?SJul10 0:00 supervise log > root 1092 0.0 0.2 1336 348 ?SJul10 0:00 supervise > qmail-smtpd > root 1093 0.0 0.2 1336 348 ?SJul10 0:00 supervise log > root 1094 0.0 0.2 1336 348 ?SJul10 0:00 supervise > qmail-pop3d > root 1095 0.0 0.2 1336 348 ?SJul10 0:00 supervise log > root 1096 0.8 0.2 1336 348 ?SJul10 15:40 supervise > qmail-imapd > qmails1098 0.0 0.3 1392 432 ?SJul10 0:00 qmail-send > < WHAT IS THIS ?? > qmaild1100 0.0 0.4 1408 516 ?SJul10 0:00 > /usr/local/bin/tcpserver -v -H -P -R -l 0 -x /etc/tcp.smtp.cdb -c 20 > qmaill1103 0.0 0.3 1352 392 ?SJul10 0:00 > /usr/local/bin/multilog t /var/log/qmail > root 1104 0.0 0.2 1348 368 ?SJul10 0:00 qmail-lspawn > ./Maildir/ > qmailr1105 0.0 0.2 1348 368 ?SJul10 0:00 qmail-rspawn > qmailq1106 0.0 0.2 1340 376 ?SJul10 0:00 qmail-clean > > > > there are 2 qmail-send proceses, one supervised and one alone. I did > configure the qmail like LWQ, so there are a qmail script in init.d and S*** > links in 12345 levels, i also have a qmail-send directory under /service.Is > this wrong ?? > > look at the "sar" output screen > > 12:01:00 PM CPU %user %nice %system %idle > 12:11:00 PM all 46.98 0.00 53.01 0.01 > 12:21:00 PM all 47.38 0.00 52.61 0.01 > 12:31:00 PM all 47.31 0.00 52.68 0.01 > 12:41:00 PM all 47.35 0.00 52.64 0.01 > 12:51:00 PM all 47.19 0.00 52.81 0.00 > 01:01:00 PM all 47.24 0.00 52.75 0.01 > 01:11:00 PM all 46.78 0.00 53.21 0.01 > 01:21:00 PM all 47.21 0.00 52.78 0.01 > Average: all 47.18 0.00 52.81 0.01 > > > Sorry for my english, thanks in advance _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: qmail and Hight CPU
make sure you are running either the stable version of vpopmail or the latest dev version as I found that vdelivermail would consume a 450 Mhz Xeon at 1 concurrent local delivery with vpopmail 4.10.23. There have been some performance improvments to vdelivermail since then. Im running 4.10.28 and don't have the problem, in fact vdelivermail consumes no noticable CPU with 4.10.28. Also you need to find out which process is consuming the CPU. Try using top or turning on process accounting for you O/S. You might alo want to try running qmail-mrtg to see exactly how many requests qmail is handling. -David - Original Message - From: "Miranda Gomez Miguel Angel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 11, 2001 3:34 PM Subject: qmail and Hight CPU > Im having a problem, my cpu looks pretty busy and i dont have many > concurrent connections, this is the output of "ps aux" > > root 1081 0.0 0.2 1372 376 ?SJul10 0:00 svscan > root 1089 0.0 0.2 1336 348 ?SJul10 0:00 supervise > qmail-send > root 1090 0.0 0.2 1336 348 ?SJul10 0:00 supervise log > root 1092 0.0 0.2 1336 348 ?SJul10 0:00 supervise > qmail-smtpd > root 1093 0.0 0.2 1336 348 ?SJul10 0:00 supervise log > root 1094 0.0 0.2 1336 348 ?SJul10 0:00 supervise > qmail-pop3d > root 1095 0.0 0.2 1336 348 ?SJul10 0:00 supervise log > root 1096 0.8 0.2 1336 348 ?SJul10 15:40 supervise > qmail-imapd > qmails1098 0.0 0.3 1392 432 ?SJul10 0:00 qmail-send > < WHAT IS THIS ?? > qmaild1100 0.0 0.4 1408 516 ?SJul10 0:00 > /usr/local/bin/tcpserver -v -H -P -R -l 0 -x /etc/tcp.smtp.cdb -c 20 > qmaill1103 0.0 0.3 1352 392 ?SJul10 0:00 > /usr/local/bin/multilog t /var/log/qmail > root 1104 0.0 0.2 1348 368 ?SJul10 0:00 qmail-lspawn > ./Maildir/ > qmailr1105 0.0 0.2 1348 368 ?SJul10 0:00 qmail-rspawn > qmailq1106 0.0 0.2 1340 376 ?SJul10 0:00 qmail-clean > > > > there are 2 qmail-send proceses, one supervised and one alone. I did > configure the qmail like LWQ, so there are a qmail script in init.d and S*** > links in 12345 levels, i also have a qmail-send directory under /service.Is > this wrong ?? > > look at the "sar" output screen > > 12:01:00 PM CPU %user %nice %system %idle > 12:11:00 PM all 46.98 0.00 53.01 0.01 > 12:21:00 PM all 47.38 0.00 52.61 0.01 > 12:31:00 PM all 47.31 0.00 52.68 0.01 > 12:41:00 PM all 47.35 0.00 52.64 0.01 > 12:51:00 PM all 47.19 0.00 52.81 0.00 > 01:01:00 PM all 47.24 0.00 52.75 0.01 > 01:11:00 PM all 46.78 0.00 53.21 0.01 > 01:21:00 PM all 47.21 0.00 52.78 0.01 > Average: all 47.18 0.00 52.81 0.01 > > > Sorry for my english, thanks in advance >
Re: qmail and Hight CPU
> there are 2 qmail-send proceses, one supervised and one alone. I did > configure the qmail like LWQ, so there are a qmail script in init.d and S*** > links in 12345 levels, i also have a qmail-send directory under /service.Is > this wrong ?? I've had the same problem, it has to do with vpopmail SIGHUP'ing the qmail-send daemon when a domain is added/deleted etc. I haven't found a solution , short of patching the code (and my C isn't good enough yet) but if I use the scripts to stop qmail, then make the change and restart qmail, the problem does not happen. -- Steve
qmail and Hight CPU
Im having a problem, my cpu looks pretty busy and i dont have many concurrent connections, this is the output of "ps aux" root 1081 0.0 0.2 1372 376 ?SJul10 0:00 svscan root 1089 0.0 0.2 1336 348 ?SJul10 0:00 supervise qmail-send root 1090 0.0 0.2 1336 348 ?SJul10 0:00 supervise log root 1092 0.0 0.2 1336 348 ?SJul10 0:00 supervise qmail-smtpd root 1093 0.0 0.2 1336 348 ?SJul10 0:00 supervise log root 1094 0.0 0.2 1336 348 ?SJul10 0:00 supervise qmail-pop3d root 1095 0.0 0.2 1336 348 ?SJul10 0:00 supervise log root 1096 0.8 0.2 1336 348 ?SJul10 15:40 supervise qmail-imapd qmails1098 0.0 0.3 1392 432 ?SJul10 0:00 qmail-send < WHAT IS THIS ?? qmaild1100 0.0 0.4 1408 516 ?SJul10 0:00 /usr/local/bin/tcpserver -v -H -P -R -l 0 -x /etc/tcp.smtp.cdb -c 20 qmaill1103 0.0 0.3 1352 392 ?SJul10 0:00 /usr/local/bin/multilog t /var/log/qmail root 1104 0.0 0.2 1348 368 ?SJul10 0:00 qmail-lspawn ./Maildir/ qmailr1105 0.0 0.2 1348 368 ?SJul10 0:00 qmail-rspawn qmailq1106 0.0 0.2 1340 376 ?SJul10 0:00 qmail-clean there are 2 qmail-send proceses, one supervised and one alone. I did configure the qmail like LWQ, so there are a qmail script in init.d and S*** links in 12345 levels, i also have a qmail-send directory under /service.Is this wrong ?? look at the "sar" output screen 12:01:00 PM CPU %user %nice %system %idle 12:11:00 PM all 46.98 0.00 53.01 0.01 12:21:00 PM all 47.38 0.00 52.61 0.01 12:31:00 PM all 47.31 0.00 52.68 0.01 12:41:00 PM all 47.35 0.00 52.64 0.01 12:51:00 PM all 47.19 0.00 52.81 0.00 01:01:00 PM all 47.24 0.00 52.75 0.01 01:11:00 PM all 46.78 0.00 53.21 0.01 01:21:00 PM all 47.21 0.00 52.78 0.01 Average: all 47.18 0.00 52.81 0.01 Sorry for my english, thanks in advance