rc scripts don't terminate

infosrv_at_bethany-ca.edu
Date: 03/17/05

  • Next message: Dave Ewart: "Re: Security and Testing"
    Date: Thu, 17 Mar 2005 09:38:45 -0400
    To: debian-user@lists.debian.org
    
    

    Hello,

    After an unclean reboot, it seems alot of my startup processes are not
    ending. A couple hours after booting, this is a process listing from
    'ps faux':

    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1 0.2 0.4 1492 512 ? S 09:05 0:05 init [2]
    root 2 0.0 0.0 0 0 ? SW 09:05 0:00 [kflushd]
    root 3 0.0 0.0 0 0 ? SW 09:05 0:00 [kupdate]
    root 4 0.0 0.0 0 0 ? SW 09:05 0:02 [kswapd]
    root 5 0.0 0.0 0 0 ? SW 09:05 0:00 [keventd]
    root 8 0.0 0.0 2108 16 ? T 09:05 0:00 sh
    /etc/init.d/rcS
    root 26 0.0 0.0 1360 16 ? T 09:06 0:00 rm -f
    /etc/mtab~ /etc/nologin
    root 33 0.0 0.0 0 0 ? Z 09:06 0:00 \_ [rm
    <defunct>]
    root 45 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rcS.d/S20modutils start
    root 65 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rcS.d/S30setserial start
    root 89 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rcS.d/S39dns-clean start
    root 92 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/ppp/ip-down.d/0dns-down
    root 97 0.0 0.0 2108 16 ? T 09:06 0:00 sh -e
    /etc/rcS.d/S39ifupdown start
    root 103 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rcS.d/S40networking start
    root 116 0.0 0.0 2108 16 ? T 09:06 0:00 /bin/sh
    -c run-parts /etc/network/if-pre-up.d
    root 119 0.0 0.0 2108 16 ? T 09:06 0:00 /bin/sh
    -c ifconfig lo 127.0.0.1 up
    root 122 0.0 0.0 2108 16 ? T 09:06 0:00 /bin/sh
    -c run-parts /etc/network/if-up.d
    root 125 0.0 0.0 2108 16 ? T 09:06 0:00 /bin/sh
    -c run-parts /etc/network/if-pre-up.d
    root 128 0.0 0.0 2108 16 ? T 09:06 0:00 /bin/sh
    -c ifconfig eth1 192.168.1.251 netmask 255.255.255.0 br
    root 131 0.0 0.0 2108 16 ? T 09:06 0:00 /bin/sh
    -c route add default gw 192.168.1.1 eth1
    root 134 0.0 0.0 2108 16 ? T 09:06 0:00 /bin/sh
    -c run-parts /etc/network/if-up.d
    root 247 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rcS.d/S55urandom start
    root 255 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rcS.d/S70nviboot start
    root 275 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/init.d/rc 2
    root 278 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S10sysklogd start
    root 286 0.0 0.1 1540 224 ? S 09:06 0:00 /sbin/syslogd
    root 288 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S11klogd start
    root 290 0.0 0.3 1852 480 ? S 09:06 0:00 /sbin/klogd
    root 292 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S14ppp start
    root 294 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S20caudium start
    root 296 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S20cupsys start
    root 300 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S20exim start
    root 305 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S20inetd start
    root 314 0.0 0.3 1520 476 ? S 09:06 0:00
    /usr/sbin/inetd
    root 316 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S20lpd start
    root 319 0.0 0.3 1576 504 ? S 09:06 0:00 /usr/sbin/lpd
    root 322 0.0 0.0 2108 16 ? T 09:06 0:00 sh -c
    /usr/lib/cups/backend/parallel
    root 323 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S20makedev start
    root 325 0.0 0.0 2108 16 ? T 09:06 0:00 sh -e
    /etc/rc2.d/S20mysql start
    root 332 0.0 0.1 2432 132 ? S 09:06 0:00 sh
    /usr/bin/safe_mysqld
    root 334 0.0 0.0 2108 16 ? T 09:06 0:00 \_ sh
    /usr/bin/safe_mysqld
    root 363 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /usr/bin/nohup nice
    root 383 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S20samba start
    root 385 0.0 0.8 4724 1064 ? S 09:06 0:02
    /usr/sbin/nmbd -D
    root 387 0.0 0.0 4708 84 ? S 09:06 0:00 \_
    /usr/sbin/nmbd -D
    root 388 0.0 0.7 6604 988 ? S 09:06 0:00
    /usr/sbin/smbd -D
    root 396 0.0 0.0 6480 0 ? SW 09:06 0:00 \_ [smbd]
    root 453 2.1 2.8 7868 3680 ? S 09:07 0:53 \_
    /usr/sbin/smbd -D
    root 527 0.0 1.8 7032 2320 ? S 09:11 0:00 \_
    /usr/sbin/smbd -D
    root 725 0.0 1.7 7020 2216 ? S 09:30 0:00 \_
    /usr/sbin/smbd -D
    root 739 0.2 2.0 7032 2588 ? S 09:33 0:02 \_
    /usr/sbin/smbd -D
    root 826 0.0 1.6 7016 2136 ? S 09:39 0:00 \_
    /usr/sbin/smbd -D
    root 390 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S20ssh start
    root 398 0.0 0.3 3056 436 ? S 09:06 0:00
    /usr/sbin/sshd
    root 447 0.1 1.2 5908 1612 ? S 09:07 0:02 \_
    /usr/sbin/sshd
    root 449 0.0 1.0 2448 1336 ttyp0 S 09:07 0:00 | \_ -bash
    root 450 0.0 0.3 2108 420 ttyp0 T 09:07 0:00 |
    \_ -bash
    root 819 0.1 1.2 6060 1632 ? S 09:38 0:00 \_
    /usr/sbin/sshd
    root 821 0.0 1.0 2444 1312 ttyp1 S 09:39 0:00 \_ -bash
    root 822 0.0 0.3 2108 420 ttyp1 T 09:39 0:00
    \_ -bash
    root 904 0.0 0.9 3372 1268 ttyp1 R 09:48 0:00
    \_ ps faux
    root 400 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S20webmin start
    root 404 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S50proftpd start
    root 406 0.0 0.0 1380 16 ? T 09:06 0:00 egrep -q
    ^[[:space:]]*ServerType.*standalone /etc/proftpd.conf
    root 410 0.0 0.0 0 0 ? Z 09:06 0:00 \_
    [egrep <defunct>]
    root 408 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S89atd start
    daemon 411 0.0 0.2 1676 352 ? S 09:06 0:00 /usr/sbin/atd
    root 413 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S89cron start
    root 417 0.0 0.0 2108 16 ? T 09:06 0:00 bash
    /etc/rc2.d/S91apache start
    root 422 0.0 0.8 6388 1112 ? S 09:06 0:00 perl
    /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
    root 423 0.0 0.4 72616 520 ? S 09:06 0:00
    /usr/sbin/apache
    www-data 435 0.1 3.0 73428 3928 ? S 09:06 0:04 \_
    /usr/sbin/apache
    www-data 436 0.1 3.1 73480 4016 ? S 09:06 0:04 \_
    /usr/sbin/apache
    www-data 437 0.4 4.0 74632 5132 ? S 09:06 0:11 \_
    /usr/sbin/apache
    www-data 438 0.5 3.9 74588 5056 ? S 09:06 0:13 \_
    /usr/sbin/apache
    www-data 439 11.6 4.0 74636 5100 ? S 09:06 4:51 \_
    /usr/sbin/apache
    www-data 457 0.2 3.4 73876 4428 ? S 09:07 0:06 \_
    /usr/sbin/apache
    www-data 505 0.0 3.2 73532 4160 ? S 09:09 0:01 \_
    /usr/sbin/apache
    www-data 508 0.1 3.8 74300 4936 ? S 09:09 0:03 \_
    /usr/sbin/apache
    www-data 624 0.0 3.9 74516 4980 ? S 09:19 0:01 \_
    /usr/sbin/apache
    root 425 0.0 0.0 2108 16 ? T 09:06 0:00 sh
    /etc/rc2.d/S99rmnologin start
    root 428 0.0 1.0 2448 1324 tty1 S 09:06 0:02 -bash
    root 441 0.0 0.3 2108 420 tty1 T 09:06 0:00 \_ -bash
    mysql 513 0.0 4.4 37464 5656 tty1 S 09:09 0:00 \_ mysqld
    mysql 514 0.0 4.4 37464 5656 tty1 S 09:09 0:00 \_
    mysqld
    mysql 515 0.0 4.4 37464 5656 tty1 S 09:09 0:00
    \_ mysqld
    mysql 516 0.0 4.4 37464 5656 tty1 S 09:09 0:00
    \_ mysqld
    root 429 0.0 0.3 1484 480 tty2 S 09:06 0:00
    /sbin/getty 38400 tty2
    root 430 0.0 0.3 1484 480 tty3 S 09:06 0:00
    /sbin/getty 38400 tty3
    root 431 0.0 0.3 1484 480 tty4 S 09:06 0:00
    /sbin/getty 38400 tty4
    root 432 0.0 0.3 1484 480 tty5 S 09:06 0:00
    /sbin/getty 38400 tty5
    root 433 0.0 0.3 1484 480 tty6 S 09:06 0:00
    /sbin/getty 38400 tty6
    root 445 0.0 0.0 2108 92 ? T 09:06 0:00 sh -c
    /usr/lib/cups/backend/smb
    root 455 0.0 0.3 2108 420 ? T 09:07 0:00 sh -c
    /usr/lib/cups/backend/ipp
    mail 462 0.0 0.3 2108 420 ? T 09:08 0:00 /bin/sh
    -c if [ -x /usr/sbin/exim -a -f /etc/exim/exim.conf ]
    root 469 0.0 0.3 2108 420 ? T 09:08 0:00 sh -c
    /usr/lib/cups/backend/lpd
    root 501 0.0 0.3 2108 420 ? T 09:08 0:00 sh -c
    /usr/lib/cups/backend/serial
    root 504 0.0 0.3 2108 420 ? T 09:09 0:00 sh -c
    /usr/lib/cups/backend/socket
    root 511 0.0 0.3 2108 420 ? T 09:09 0:00 sh -c
    /usr/lib/cups/backend/usb
    root 522 0.0 0.3 2108 420 ? T 09:10 0:00 sh -c
    /usr/lib/cups/backend/http
    mail 643 0.0 0.3 2108 420 ? T 09:23 0:00 /bin/sh
    -c if [ -x /usr/sbin/exim -a -f /etc/exim/exim.conf ]
    root 783 0.0 0.2 1776 352 ttyp0 S 09:37 0:00 ls
    mail 816 0.0 0.3 2108 420 ? T 09:38 0:00 /bin/sh
    -c if [ -x /usr/sbin/exim -a -f /etc/exim/exim.conf ]

    Any idea why all the rc scripts might still be running?

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Dave Ewart: "Re: Security and Testing"