linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Sendmail Thrashing CPU Endlessly
@ 2003-10-03 11:32 Daniel W
  2003-10-03 15:02 ` Richard Nairn
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel W @ 2003-10-03 11:32 UTC (permalink / raw)
  To: linux-admin



Extract from "top":

===============================
12:10pm  up 4 days, 27 min,  1 user,  load average: 1.24, 1.37, 1.23
82 processes: 76 sleeping, 5 running, 1 zombie, 0 stopped
CPU states:  4.4% user,  0.5% system,  0.0% nice,  8.3% idle
Mem:   262144K av,  258592K used,    3552K free,   17440K shrd,       0K
buff
Swap:  262144K av,    3704K used,  258440K free                  146500K
cache

PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
20144 root      13   0  2656    2656  1904      R         94.5       1.0
28:34     sendmail
23448 root       3   0   1096    1096   832       R         5.6         0.4
0:00       top
===============================

You can see from the above that the sendmail process is hogging virtually
the entire CPU. This goes on permanently (this extract is actually soon
after i killed the sendmail process - if I didn't it would go on forever).

I am running a mail server with perhaps 1000 users but I still don't see why
this would cause sendmail to have to operate THIS hard.

The problem is that whilst sendmail is doing this the load average slowely
climbs. I've had load averages of 40+ and long before that services start to
die. All horribly messy.

If anyone could give me a few clues as to what could be causing this I'd be
most grateful!

Sendmail version is:  Sendmail 8.11.6/8.11.6
Red Hat Linux release 7.1 (Seawolf)

Thanks,
Daniel






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Sendmail Thrashing CPU Endlessly
  2003-10-03 11:32 Sendmail Thrashing CPU Endlessly Daniel W
@ 2003-10-03 15:02 ` Richard Nairn
  2003-10-03 15:07   ` Daniel Watts
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Nairn @ 2003-10-03 15:02 UTC (permalink / raw)
  To: Daniel W; +Cc: linux-admin

What does your mailq and maillog report?  Is this all the time? Try and 
see if anything triggers it...



On Fri, 3 Oct 2003 12:32:35 +0100, Daniel W 
<daniel.watts@lincoln-oxford.com> wrote:

>
>
> Extract from "top":
>
> ===============================
> 12:10pm  up 4 days, 27 min,  1 user,  load average: 1.24, 1.37, 1.23
> 82 processes: 76 sleeping, 5 running, 1 zombie, 0 stopped
> CPU states:  4.4% user,  0.5% system,  0.0% nice,  8.3% idle
> Mem:   262144K av,  258592K used,    3552K free,   17440K shrd,       0K
> buff
> Swap:  262144K av,    3704K used,  258440K free                  146500K
> cache
>
> PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
> 20144 root      13   0  2656    2656  1904      R         94.5       1.0
> 28:34     sendmail
> 23448 root       3   0   1096    1096   832       R         5.6         
> 0.4
> 0:00       top
> ===============================
>
> You can see from the above that the sendmail process is hogging virtually
> the entire CPU. This goes on permanently (this extract is actually soon
> after i killed the sendmail process - if I didn't it would go on 
> forever).
>
> I am running a mail server with perhaps 1000 users but I still don't see 
> why
> this would cause sendmail to have to operate THIS hard.
>
> The problem is that whilst sendmail is doing this the load average 
> slowely
> climbs. I've had load averages of 40+ and long before that services 
> start to
> die. All horribly messy.
>
> If anyone could give me a few clues as to what could be causing this I'd 
> be
> most grateful!
>
> Sendmail version is:  Sendmail 8.11.6/8.11.6
> Red Hat Linux release 7.1 (Seawolf)
>
> Thanks,
> Daniel
>
>
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
|       Richard Nairn          Specializing in Linux
|     Nairn Consulting         Web / Database Solutions
|        Calgary, AB
| Richard@NairnConsulting.ca

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Sendmail Thrashing CPU Endlessly
  2003-10-03 15:02 ` Richard Nairn
@ 2003-10-03 15:07   ` Daniel Watts
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Watts @ 2003-10-03 15:07 UTC (permalink / raw)
  To: Richard Nairn; +Cc: linux-admin

mailq has only this:

----------------------------------------
                /var/spool/mqueue (1 request)
----Q-ID---- --Size-- -----Q-Time----- ------------Sender/Recipient---------
---
h92NEdi01184      263 Fri Oct  3 00:14 <MAILER-DAEMON@magd-oxford.com>
                 (Deferred: Connection timed out with
microdata.mdnet.com.br.)
                                       <jillballsn@mdnet.com.br>
----------------------------------------

Although I am running a virtual diectory system with over 50 domains. There
is no mailq program in /home/virtual/DOMAIN/usr/bin .


From the maillog I have these interesting lines:

--------------------
named[24515]: client 80.67.173.196#2498: zone transfer
'trinity-oxford.com/IN' denied

named[24515]: lame server resolving 'pidgeyou.com' (in 'pidgeyou.COM'?):
62.204.32.5#53
named[24515]: lame server resolving 'pidgeyou.com' (in 'pidgeyou.COM'?):
62.204.34.85#53

imapd[27258]: Command stream end of file, while reading line
user=shanthi.vignasen@oriel-oxford.com host=localhost.localdomain
[127.0.0.1]

imapd[5191]: Login failed user= auth= host=localhost.localdomain [127.0.0.1]
---------------------

I have an inkling that the last line might be the problem since I'm getting
quite a lot of these (about 5-8 times as many as everything else).

sendmail starts using as much of the CPU as it can as soon as it is started
up. I kill it and a few minutes later it is back up and trashing away.

Thanks for replying - your help is greatly appreciated!
Daniel



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-03 15:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-03 11:32 Sendmail Thrashing CPU Endlessly Daniel W
2003-10-03 15:02 ` Richard Nairn
2003-10-03 15:07   ` Daniel Watts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).