I came in this morning to find that both my qmail servers were totally
loaded up with messages to be sent, and not sending more than 5
concurrently.  (my remote concurrency is 120)

So, I looked at top and slocate was eating cpu.  I killed slocate, and
restarted qmail.  Its been running for 20 minutes now, at 100% cpu
utilization.  ls -R /var/qmail/queue/info | wc -l shows 74,500 lines.  I'm
not running a bigtodo patch, which may be a problem at this point.

I disabled tcpserver so that more messages won't interfere with the
processing of the current queue.

These systems have fast disks and fast CPUs.  Should I let it continue
munging on the data and hope it cranks through, or should I do something
else...

The log file shows nothing since restart at this time....

[root@CIO-QMAIL1 /root]# tail /var/log/maillog
Sep 29 09:14:13 cio-qmail1 qmail: 970244053.159312 status: local 0/10 remote
2/120
Sep 29 09:14:13 cio-qmail1 qmail: 970244053.870135 new msg 156125
Sep 29 09:14:15 cio-qmail1 qmail: 970244055.135015 info msg 156125: bytes
957 from <[EMAIL PROTECTED]> qp 20661 uid 503
Sep 29 09:14:15 cio-qmail1 qmail: 970244055.944552 end msg 174978
Sep 29 09:14:17 cio-qmail1 qmail: 970244057.058993 delivery 116975: success:
216.33.105.40_accepted_message./Remote_host_said:_250_OK/
Sep 29 09:14:17 cio-qmail1 qmail: 970244057.803502 status: local 0/10 remote
1/120 exitasap
Sep 29 09:14:18 cio-qmail1 qmail: 970244058.186498 delivery 116976: success:
216.33.105.40_accepted_message./Remote_host_said:_250_OK/
Sep 29 09:14:18 cio-qmail1 qmail: 970244058.489979 status: local 0/10 remote
0/120 exitasap
Sep 29 09:14:19 cio-qmail1 qmail: 970244059.502572 end msg 174975
Sep 29 09:18:47 cio-qmail1 qmail: 970244327.347750 status: exiting


Top display...:

  9:43am  up 21 days, 23:14,  1 user,  load average: 1.01, 1.44, 7.81
39 processes: 35 sleeping, 4 running, 0 zombie, 0 stopped
CPU states:  0.1% user, 99.8% system,  0.0% nice,  0.0% idle
Mem:   322464K av,  309508K used,   12956K free,    3092K shrd,  276784K
buff
Swap:  263144K av,    1848K used,  261296K free                    5876K
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
 2297 qmails    16   0   672  672   308 R       0 99.5  0.2  20:36
qmail-send
 5813 root       1   0   852  852   668 R       0  0.3  0.2   0:03 top
    1 root       0   0   128   68    48 S       0  0.0  0.0   1:49 init
    2 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 kflushd
    3 root       0   0     0    0     0 RW      0  0.0  0.0   1:25 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:09 kswapd
    6 root     -20 -20     0    0     0 SW<     0  0.0  0.0   0:00
mdrecoveryd
  403 root       0   0   216  168   116 S       0  0.0  0.0 544:12 syslogd
  412 root       0   0   416    0     0 SW      0  0.0  0.0   0:00 klogd
  458 root       0   0   176  112    68 S       0  0.0  0.0   0:08 crond
  490 root       0   0    84    0     0 SW      0  0.0  0.0   0:00 lpd
  527 root       0   0    68   52     0 S       0  0.0  0.0   0:00 gpm
  587 root       0   0    68   68     0 S       0  0.0  0.0   0:00 mingetty
  588 root       0   0    68   68     0 S       0  0.0  0.0   0:00 mingetty
  589 root       0   0    68   68     0 S       0  0.0  0.0   0:00 mingetty
  590 root       0   0    68   68     0 S       0  0.0  0.0   0:00 mingetty
  591 root       0   0    68   68     0 S       0  0.0  0.0   0:00 mingetty
  980 root       0   0    68   68     0 S       0  0.0  0.0   0:00 mingetty




David Ihnen
Integration Engineer
myCIO
503-670-4018
 

Reply via email to