This is a discussion on qmail-rspawn taking 99% cpu within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hi all, I have machine that only forwards e-mails to another site. There was a problem with some app ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all,
I have machine that only forwards e-mails to another site. There was a problem with some app and this machine received over 130k of very small e-mail, that was on the 25 of Sep. I still see about 80K of the e-mails in the queue and log shows a very slow delivery, also from time to time it stops delivering. I noticed that qmail-rspawn and qmail-send are taking almost all of the cpu power and the machine is a high-end Sun server. Do you think there is something wrong or is it normal for qmail-rspawn to take so much cpu power under heavy delivery? Thanks, Vahid. |
|
|||
|
Here is a few lines from truss output of qmail-rspawn:
poll(0xFFBFF6F0, 101, -1) = 101 sigprocmask(SIG_BLOCK, 0xFFBFFCC0, 0x00000000) = 0 sigprocmask(SIG_UNBLOCK, 0xFFBFFCC0, 0x00000000) = 0 poll(0xFFBFF6F0, 101, -1) = 101 sigprocmask(SIG_BLOCK, 0xFFBFFCC0, 0x00000000) = 0 sigprocmask(SIG_UNBLOCK, 0xFFBFFCC0, 0x00000000) = 0 poll(0xFFBFF6F0, 101, -1) = 101 sigprocmask(SIG_BLOCK, 0xFFBFFCC0, 0x00000000) = 0 sigprocmask(SIG_UNBLOCK, 0xFFBFFCC0, 0x00000000) = 0 .... and this continues for ever... Vahid moghaddasi wrote: > Hi all, > I have machine that only forwards e-mails to another site. There was a > problem with some app and this machine received over 130k of very small > e-mail, that was on the 25 of Sep. I still see about 80K of the e-mails > in the queue and log shows a very slow delivery, also from time to time > it stops delivering. > I noticed that qmail-rspawn and qmail-send are taking almost all of the > cpu power and the machine is a high-end Sun server. > Do you think there is something wrong or is it normal for qmail-rspawn > to take so much cpu power under heavy delivery? > Thanks, > Vahid. |
|
|||
|
Vahid moghaddasi wrote:
> Hi all, > I have machine that only forwards e-mails to another site. There was a > problem with some app and this machine received over 130k of very small > e-mail, that was on the 25 of Sep. I still see about 80K of the e-mails > in the queue and log shows a very slow delivery, also from time to time > it stops delivering. > I noticed that qmail-rspawn and qmail-send are taking almost all of the > cpu power and the machine is a high-end Sun server. > Do you think there is something wrong or is it normal for qmail-rspawn > to take so much cpu power under heavy delivery? > Thanks, > Vahid. > Vahid, qmail-showctl,logs? Remote concurency, clienttimeout? are these messages destined for your remote servers or are these bounce backs? AK |
|
|||
|
AK wrote:
> > qmail-showctl,logs? > Remote concurency, clienttimeout? The logs do not have any errors and are not updating while qmail-rspawn is taking all cpu, here are some output from qmail-showctl: qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 30001, 30002, 30003, 0, 30004, 30005, 30006, 30007. group ids: 15, 16. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: Remote concurrency is 100. timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds. timeoutremote: (Default.) SMTP client data timeout is 1200 seconds. timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds. > > are these messages destined for your remote servers or are these bounce > backs? The are just e-mails ready to go to an off-site archiving company. I noticed when I kill qmail-rspawn when it is using too much cpu, then everything goes back to normal and mails start to go out. This will last about 40k mail or so until qmail-rspawn takes too much of cpu again, I have to kill it again. If not too many mails in the queue, things are fine. I do not have the todo patch installed, this is just netqmail-1.05 out of the box following DS's qmail handbook. Thanks, |