qmail-rspawn taking 99% cpu

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 ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-27-2005
Vahid moghaddasi
 
Posts: n/a
Default qmail-rspawn taking 99% cpu

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.

Reply With Quote
  #2 (permalink)  
Old 09-27-2005
Vahid moghaddasi
 
Posts: n/a
Default Re: qmail-rspawn taking 99% cpu

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.


Reply With Quote
  #3 (permalink)  
Old 09-28-2005
AK
 
Posts: n/a
Default Re: qmail-rspawn taking 99% cpu

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
Reply With Quote
  #4 (permalink)  
Old 09-28-2005
Vahid moghaddasi
 
Posts: n/a
Default Re: qmail-rspawn taking 99% cpu

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,

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:42 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0