Jörgen Persson wrote:
>
> On Mon, Jul 02, 2001 at 01:25:20AM -0700, Will Yardley wrote:
> > i've heard from a couple people that the qmail-send process is
> > supposed to take up all the avail cpu when nothing else is using it;
> > is that right?
>
> Hardly -- what does the log say?
>
> Jörgen
well the logs aren't really spitting out any errors; they look like this
(and a lot of procmail backtraces from various peoples' mail delivery).
we do have a lot of people using procmail to filter their mail (probably
about 20 or so out of 40 users) and a bunch of people using spambouncer
(a bunch of procmail scripts) but the machine itself doesn't have that
many users, and the load did the same thing when less people were using
procmail and almost noone was using spambouncer.
Jul 2 10:20:26 zugzug qmail: 994094426.896253 starting delivery 860880:
msg 32818 to local x
Jul 2 10:20:26 zugzug qmail: 994094426.897151 status: local 1/10 remote
0/20
Jul 2 10:20:31 zugzug qmail: 994094431.062349 new msg 32821
Jul 2 10:20:31 zugzug qmail: 994094431.063532 info msg 32821: bytes
1030 from <x> qp 25920 uid 1001
Jul 2 10:20:31 zugzug qmail: 994094431.125982 starting delivery 860881:
msg 32821 to local x
Jul 2 10:20:31 zugzug qmail: 994094431.126914 status: local 2/10 remote
0/20
Jul 2 10:20:31 zugzug qmail: 994094431.529032 delivery 860881: success:
did_0+0+1/
Jul 2 10:20:31 zugzug qmail: 994094431.530214 status: local 1/10 remote
0/20
Jul 2 10:20:31 zugzug qmail: 994094431.530522 end msg 32821
Jul 2 10:20:41 zugzug qmail: 994094441.513518 new msg 32821
Jul 2 10:20:41 zugzug qmail: 994094441.514655 info msg 32821: bytes
1058 from <x> qp 25927 uid 1001
Jul 2 10:20:41 zugzug qmail: 994094441.592107 starting delivery 860882:
msg 32821 to local x
Jul 2 10:20:41 zugzug qmail: 994094441.593109 status: local 2/10 remote
0/20
Jul 2 10:20:42 zugzug qmail: 994094442.094698 delivery 860882: success:
did_0+0+1/
Jul 2 10:20:42 zugzug qmail: 994094442.095894 status: local 1/10 remote
0/20
Jul 2 10:20:42 zugzug qmail: 994094442.096184 end msg 32821
Jul 2 10:21:05 zugzug qmail: 994094465.081823 new msg 32821
Jul 2 10:21:05 zugzug qmail: 994094465.082982 info msg 32821: bytes
4870 from <> qp 25934 uid 1001
Jul 2 10:21:05 zugzug qmail: 994094465.145353 starting delivery 860883:
msg 32821 to local x
Jul 2 10:21:05 zugzug qmail: 994094465.146323 status: local 2/10 remote
0/20
Jul 2 10:21:05 zugzug qmail: 994094465.590657 delivery 860883: success:
did_0+0+1/
Jul 2 10:21:05 zugzug qmail: 994094465.591874 status: local 1/10 remote
0/20
Jul 2 10:21:05 zugzug qmail: 994094465.592132 end msg 32821
here's a more complete 'top' output:
10:27am up 54 days, 19:28, 1 user, load average: 1.17, 1.36, 1.25
68 processes: 60 sleeping, 3 running, 5 zombie, 0 stopped
CPU states: 36.2% user, 63.7% system, 0.0% nice, 0.0% idle
Mem: 516576K av, 507756K used, 8820K free, 18776K shrd, 449500K buff
Swap: 1020116K av, 4528K used, 1015588K free 20308K
cached
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME
COMMAND
168 qmails 16 0 212 188 108 R 0 99.0 0.0 75304m
qmail-send
26309 root 2 0 1284 1284 688 R 0 0.9 0.2 0:00 top
1 root 0 0 108 64 48 S 0 0.0 0.0 0:28 init
2 root 0 0 0 0 0 SW 0 0.0 0.0 0:02
kflushd
3 root 0 0 0 0 0 SW 0 0.0 0.0 0:48
kupdate
4 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kpiod
5 root 0 0 0 0 0 SW 0 0.0 0.0 0:13
kswapd
172 qmaill 0 0 208 200 160 S 0 0.0 0.0 8:54
splogger
173 root 0 0 156 120 56 S 0 0.0 0.0 5:33
qmail-lspawn
174 qmailr 0 0 140 112 84 S 0 0.0 0.0 0:19
qmail-rspawn
175 qmailq 0 0 116 100 76 S 0 0.0 0.0 1:03
qmail-clean
179 root 0 0 388 372 300 S 0 0.0 0.0 216:46
syslogd
186 root 0 0 448 0 0 SW 0 0.0 0.0 0:00 klogd
204 root 0 0 1716 1292 528 S 0 0.0 0.2 5:06 named
224 root 0 0 112 60 40 S 0 0.0 0.0 0:01
couriertcpd
232 root 0 0 200 192 160 S 0 0.0 0.0 0:02
logger
233 root 0 0 112 60 40 S 0 0.0 0.0 0:20
couriertcpd
236 root 0 0 200 192 160 S 0 0.0 0.0 0:19
logger
275 root 0 0 492 408 340 S 0 0.0 0.0 0:54 sshd
285 root 0 0 1552 1552 1320 S 0 0.0 0.3 0:00 ntpd
327 root 0 0 64 0 0 SW 0 0.0 0.0 0:00 getty
328 root 0 0 64 0 0 SW 0 0.0 0.0 0:00 getty
329 root 0 0 64 0 0 SW 0 0.0 0.0 0:00 getty
330 root 0 0 64 0 0 SW 0 0.0 0.0 0:00 getty
331 root 0 0 64 0 0 SW 0 0.0 0.0 0:00 getty
23917 root 0 0 244 224 184 S 0 0.0 0.0 1:33 inetd
9216 root 0 0 184 0 0 SW 0 0.0 0.0 0:00
stunnel
9217 root 0 0 0 0 0 Z 0 0.0 0.0 0:00
imaplogin <d