I was using pperl to run qpsmtpd.  It was pegging the CPU.  I tried to
shut it down:

  20030727-18:48:34 [EMAIL PROTECTED]:/# postfix stop
  postfix/postfix-script: stopping the Postfix mail system
  20030727-18:48:51 [EMAIL PROTECTED]:/# svc -d /service/proxy
  20030727-18:48:55 [EMAIL PROTECTED]:/# svc -d /service/content-filter
  20030727-18:49:00 [EMAIL PROTECTED]:/# cd ~qpsmtpd
  20030727-18:49:02 [EMAIL PROTECTED]:~qpsmtpd# pperl -k proxy/qpsmtpd; pperl -k 
content-filter/qpsmtpd
   18:49:49  up 108 days,  1:51,  6 users,  load average: 3.99, 3.96, 3.05
  209 processes: 200 sleeping, 4 running, 3 zombie, 2 stopped
  CPU states:  10.4% user   5.1% system   0.5% nice   0.0% iowait  83.8% idle
  Mem:   450868k av,  408752k used,   42116k free,       0k shrd,   20868k buff
          73400k active,             306192k inactive
  Swap:  268080k av,  148388k used,  119692k free                  227360k cached

    PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
  30171 root      20   0   704  592   564 R    48.7  0.1 468:50   0 /icg/bin/pperl -Tw 
./qpsmtpd
  19014 root      20   0   700  700   564 R    48.0  0.1 466:40   0 /icg/bin/pperl -Tw 
./qpsmtpd
  11130 root      18   0  1080 1080   744 R    11.6  0.2   0:00   0 top -c
   9646 mengwong  15  10 14512  14M  2256 R N   1.4  3.2   0:04   0 web server: 
pobox.com/~user redirection
      1 root       8   0   496  472   440 S     0.0  0.1   0:11   0 init [3]   --init
      2 root       9   0     0    0     0 SW    0.0  0.0   0:00   0 keventd
      3 root      19  19     0    0     0 SWN   0.0  0.0   0:05   0 ksoftirqd_CPU0
      4 root       9   0     0    0     0 SW    0.0  0.0  15:27   0 kswapd
      5 root       9   0     0    0     0 SW    0.0  0.0   0:05   0 bdflush
      6 root       9   0     0    0     0 SW    0.0  0.0  12:03   0 kupdated
      8 root     18446744073709551615 -20     0    0     0 SW<   0.0  0.0   0:00   0 
mdrecoveryd
      9 root     18446744073709551615 -20     0    0     0 SW<   0.0  0.0   0:00   0 
raid1d
     10 root     18446744073709551615 -20     0    0     0 SW<   0.0  0.0   0:00   0 
raid1d
     11 root     18446744073709551615 -20     0    0     0 SW<   0.0  0.0   0:00   0 
raid1d
     12 root     18446744073709551615 -20     0    0     0 SW<   0.0  0.0   0:00   0 
raid1d
    528 rpcuser    9   0   336  248   244 S     0.0  0.0   0:00   0 rpc.statd
    605 root       9   0   356  280   200 S     0.0  0.0  18:58   0 
/usr/local/sbin/sshd
   1011 root       9   0   192  144   140 S     0.0  0.0   0:00   0 /sbin/mingetty tty1
   1012 root       9   0   192  144   140 S     0.0  0.0   0:00   0 /sbin/mingetty tty2
   1013 root       9   0   192  144   140 S     0.0  0.0   0:00   0 /sbin/mingetty tty3
   1014 root       9   0   192  144   140 S     0.0  0.0   0:00   0 /sbin/mingetty tty4
   1015 root       9   0   192  144   140 S     0.0  0.0   0:00   0 /sbin/mingetty tty5
   1016 root       9   0   192  144   140 S     0.0  0.0   0:00   0 /sbin/mingetty tty6
   1017 root       9   0  1116  804   576 S     0.0  0.1   0:14   0 /usr/bin/perl -sw- 
/icg/bin/governor
   1020 root       9   0   876  604   420 S     0.0  0.1   0:00   0 voter-spool-sizes: 
sleeping since start o
   1042 root       9   0   252  200   196 S     0.0  0.0   0:00   0 logger -p 
local5.info -t governor[1017]
   1043 root       9   0   252  200   196 S     0.0  0.0   0:00   0 logger -p 
local5.warn -t governor[1017]
   1127 root       9   0   244  192   188 S     0.0  0.0   0:00   0 logger -p 
local5.info -t voter-spool-size
   1128 root       9   0   244  232   188 S     0.0  0.0   0:00   0 logger -p 
local5.warn -t voter-spool-size
   1514 mengwong   9   0   404  328   252 S     0.0  0.0   0:54   0 ssh-agent
   1847 mengwong   9   0 24788  20M   592 S     0.0  4.6  1649m   0 SCREEN
  20030727-18:49:54 [EMAIL PROTECTED]:~qpsmtpd# strace -p 30171 |& head
  rt_sigaction(SIGPIPE, {0x403754cc, [PIPE], SA_RESTORER|SA_RESTART, 0x40165d48}, 
{0x403754cc, [PIPE], SA_RESTORER|SA_RESTART, 0x40165d48}, 8) = 0
  sigreturn()                             = ? (mask now [RTMIN])
  --- SIGPIPE (Broken pipe) @ 0 (0) ---
  kill(0, SIGPIPE)                        = 0
  rt_sigaction(SIGPIPE, {0x403754cc, [PIPE], SA_RESTORER|SA_RESTART, 0x40165d48}, 
{0x403754cc, [PIPE], SA_RESTORER|SA_RESTART, 0x40165d48}, 8) = 0
  sigreturn()                             = ? (mask now [RTMIN])
  --- SIGPIPE (Broken pipe) @ 0 (0) ---
  kill(0, SIGPIPE)                        = 0
  rt_sigaction(SIGPIPE, {0x403754cc, [PIPE], SA_RESTORER|SA_RESTART, 0x40165d48}, 
{0x403754cc, [PIPE], SA_RESTORER|SA_RESTART, 0x40165d48}, 8) = 0
  sigreturn()                             = ? (mask now [RTMIN])
  20030727-18:49:58 [EMAIL PROTECTED]:~qpsmtpd#

any idea what it's doing?



Reply via email to