Subject: the number of running processes just keeps growing
To: None <netbsd-help@netbsd.org>
From: Henry Nelson <henry@irm.nara.kindai.ac.jp>
List: netbsd-help
Date: 06/27/2001 12:03:40
I don't know what I could have done, but strangely one of my servers
doesn't end the processes that seem to be involved in those daily|weekly
security checks.  If nothing else, at least I know why this machine would
suddenly and completely lock up. :)
Two questions:
1) What might be causing processes to not end (see the attached output
of `ps -aux`)?
2) Actually, it would be nice to be able to turn off those automatically
mailed security checks.  How can that be done?
TIA

henry nelson

output of `ps -aux` after just a few days after booting:
USER       PID %CPU %MEM   VSZ  RSS TT  STAT STARTED       TIME COMMAND
root         3  3.9  2.7     0  316 ??  DL   16Jun01  631:23.65 (reaper)
root      3202  1.2  0.9   432  104 ??  S    19Jun01  403:37.17 /bin/sh 
root      8023  1.3  1.0   432  108 ??  S    Mon03AM   47:10.93 /bin/sh 
root     29060  1.1  0.9   432  104 ??  S    Fri03AM  172:22.54 /bin/sh 
root     12613  1.4  1.0   432  108 ??  S    Sun03AM   83:17.16 /bin/sh 
root      4899  1.1  0.9   432  104 ??  R    Sat03AM  123:15.39 /bin/sh 
root       598  1.0  0.9   432  104 ??  S    17Jun01  846:04.70 /bin/sh 
root     22055  1.0  0.9   432  104 ??  S    Wed03AM  302:30.70 /bin/sh 
root     18088  1.3  1.0   432  108 ??  R     3:37AM   16:13.68 /bin/sh 
root     11229  1.1  0.9   432  104 ??  S    18Jun01  548:47.25 /bin/sh 
root       164  0.0  1.7   392  192  a  Ss   16Jun01    0:00.89 -csh 
root       469  0.0  0.0   280   48 ??  IW   17Jun01    0:00.02 CRON (cron)
root       470  0.0  0.0   408   96 ??  IWs  17Jun01    0:00.12 /bin/sh -c /bin
root       471  0.0  0.0   440  108 ??  IW   17Jun01    0:00.63 /bin/sh /etc/da
root       473  0.0  0.0    32   84 ??  IW   17Jun01    0:00.13 tee /var/log/da
root       475  0.0  0.0   628   32 ??  IW   17Jun01    0:00.72 sendmail -t 
root       514  0.0  0.0   452  108 ??  IW   17Jun01    0:00.97 sh /etc/securit
root     27040  0.0  0.0   280   48 ??  IW   18Jun01    0:00.03 CRON (cron)
root     27041  0.0  0.0   408   96 ??  IWs  18Jun01    0:00.12 /bin/sh -c /bin
root     27042  0.0  0.0   440  108 ??  IW   18Jun01    0:00.64 /bin/sh /etc/da
root     27043  0.0  0.0    32   84 ??  IW   18Jun01    0:00.14 tee /var/log/da
root     27045  0.0  0.0   628   32 ??  IW   18Jun01    0:00.76 sendmail -t 
root     10947  0.0  0.0   452  108 ??  IW   18Jun01    0:00.94 sh /etc/securit
root     18319  0.0  0.0   280   48 ??  IW   19Jun01    0:00.03 CRON (cron)
root     18320  0.0  0.0   408   96 ??  IWs  19Jun01    0:00.13 /bin/sh -c /bin
root     18321  0.0  0.0   440  108 ??  IW   19Jun01    0:00.65 /bin/sh /etc/da
root     18323  0.0  0.0    32   84 ??  IW   19Jun01    0:00.13 tee /var/log/da
root     18325  0.0  0.0   628   32 ??  IW   19Jun01    0:00.73 sendmail -t 
root      2767  0.0  0.0   452  108 ??  IW   19Jun01    0:00.93 sh /etc/securit
root      6721  0.0  0.0   280   48 ??  IW   Wed03AM    0:00.02 CRON (cron)
root      6723  0.0  0.0   408   96 ??  IWs  Wed03AM    0:00.12 /bin/sh -c /bin
root      6724  0.0  0.0   440  108 ??  IW   Wed03AM    0:00.64 /bin/sh /etc/da
root      6726  0.0  0.0    32   84 ??  IW   Wed03AM    0:00.14 tee /var/log/da
root      6728  0.0  0.0   628   32 ??  IW   Wed03AM    0:00.71 sendmail -t 
root     21417  0.0  0.0   452  108 ??  IW   Wed03AM    0:00.93 sh /etc/securit
root     16433  0.0  0.0   280   48 ??  IW   Thu03AM    0:00.03 CRON (cron)
root     16434  0.0  0.0   408   96 ??  IWs  Thu03AM    0:00.12 /bin/sh -c /bin
root     16435  0.0  0.0   440  108 ??  IW   Thu03AM    0:00.62 /bin/sh /etc/da
root     16437  0.0  0.0    32   84 ??  IW   Thu03AM    0:00.14 tee /var/log/da
root     16439  0.0  0.0   628   32 ??  IW   Thu03AM    0:00.76 sendmail -t 
root      1847  0.0  0.0   452  108 ??  IW   Thu03AM    0:00.94 sh /etc/securit
root      2645  1.0  0.9   432  104 ??  S    Thu03AM  230:34.31 /bin/sh 
root     11182  0.0  0.0   280   48 ??  IW   Fri03AM    0:00.03 CRON (cron)
root     11183  0.0  0.0   408   96 ??  IWs  Fri03AM    0:00.13 /bin/sh -c /bin
root     11184  0.0  0.0   440  108 ??  IW   Fri03AM    0:00.64 /bin/sh /etc/da
root     11186  0.0  0.0    32   84 ??  IW   Fri03AM    0:00.14 tee /var/log/da
root     11187  0.0  0.0   628   32 ??  IW   Fri03AM    0:00.72 sendmail -t 
root     27744  0.0  0.0   452  108 ??  IW   Fri03AM    0:00.94 sh /etc/securit
[snipped since it just repeats]