[PLUG] killing a process that doesn't want to die

D. Cooper Stevenson cooper at linux-enterprise.net
Tue Jun 4 16:04:45 UTC 2002


Mike;

Based on this information I cannot fathom why `top' is showing only one
process. If you connecting remotely with a Windows box it is likely the
telnet client is not updating the screen information correctly.

I can see a few processes here that are causing a problem. Assuming the
processes are still the same, perform the following:

  # kill -9 22391

Also, I note that you have several smb daemons running. Restart them as
root:

  # /etc/init.d/smb restart


-Cooper


> [root at new ~]# ps -ef
> UID        PID  PPID  C STIME TTY          TIME CMD
> root         1     0  0 Apr12 ?        00:00:03 init [3] 
> root         2     1  0 Apr12 ?        00:00:00 [keventd]
> root         3     1  0 Apr12 ?        00:00:00 [kapm-idled]
> root         4     0  0 Apr12 ?        00:00:00 [ksoftirqd_CPU0]
> root         5     0  0 Apr12 ?        00:01:30 [kswapd]
> root         6     0  0 Apr12 ?        00:00:00 [kreclaimd]
> root         7     0  0 Apr12 ?        00:00:37 [bdflush]
> root         8     0  0 Apr12 ?        00:00:01 [kupdated]
> root         9     1  0 Apr12 ?        00:00:00 [mdrecoveryd]
> root        74     1  0 Apr12 ?        00:00:00 [khubd]
> root       436     1  0 Apr12 ?        00:00:00 syslogd -m 0
> root       441     1  0 Apr12 ?        00:00:00 klogd -2
> rpc        455     1  0 Apr12 ?        00:00:00 portmap
> root       574     1  0 Apr12 ?        00:00:00 /usr/sbin/automount --timeout 60
> daemon     586     1  0 Apr12 ?        00:00:00 /usr/sbin/atd
> root       610     1  0 Apr12 ?        00:00:35 /usr/sbin/sshd
> root       631     1  0 Apr12 ?        00:00:00 xinetd -stayalive -reuse -pidfil
> root       661     1  0 Apr12 ?        00:00:00 sendmail: accepting connections
> root       674     1  0 Apr12 ttyS0    00:00:00 gpm -t ms -m /dev/mouse
> root       686     1  0 Apr12 ?        00:00:00 crond
> xfs        748     1  0 Apr12 ?        00:00:02 xfs -droppriv -daemon
> root       776     1  0 Apr12 ?        00:00:00 rhnsd --interval 120
> root       786     1  0 Apr12 tty1     00:00:00 login -- root     
> root       787     1  0 Apr12 tty2     00:00:00 /sbin/mingetty tty2
> root       788     1  0 Apr12 tty3     00:00:00 /sbin/mingetty tty3
> root       789     1  0 Apr12 tty4     00:00:00 /sbin/mingetty tty4
> root       790     1  0 Apr12 tty5     00:00:00 /sbin/mingetty tty5
> root       791     1  0 Apr12 tty6     00:00:00 /sbin/mingetty tty6
> root       794   786  0 Apr12 tty1     00:00:00 -bash
> root       860   794  0 Apr12 tty1     00:00:00 /bin/sh /usr/X11R6/bin/startx
> root       867   860  0 Apr12 tty1     00:00:00 xinit /etc/X11/xinit/xinitrc --
> root       868   867  0 Apr12 ?        00:00:20 /etc/X11/X :0
> root       872   867  0 Apr12 tty1     00:00:00 ksmserver --restore
> root       925     1  0 Apr12 ?        00:00:00 kdeinit: dcopserver --nosid
> root       927     1  0 Apr12 ?        00:00:00 kdeinit: klauncher
> root       929     1  0 Apr12 ?        00:00:03 kdeinit: kded   
> root       934     1  0 Apr12 ?        00:00:00 kdeinit: kxmlrpcd
> root       942     1  0 Apr12 ?        00:00:00 kdeinit: Running...
> root       944     1  0 Apr12 tty1     00:00:00 knotify
> root       945   942  0 Apr12 ?        00:00:01 kdeinit: kwin   
> root       947     1  0 Apr12 ?        00:00:05 kdeinit: kdesktop
> root       949     1  0 Apr12 ?        00:00:03 kdeinit: kicker 
> root       952     1  0 Apr12 ?        00:00:00 kdeinit: klipper -icon klipper -
> root       954     1  0 Apr12 ?        00:00:00 kdeinit: khotkeys
> root       956     1  0 Apr12 ?        00:00:00 kdeinit: kwrited
> root       957   956  0 Apr12 pts/0    00:00:00 /bin/cat
> root       993   942  0 Apr12 ?        00:00:00 kdeinit: konqueror --silent
> root       998     1  0 Apr12 ?        00:00:00 kdeinit: kio_uiserver
> root     10033   942  0 May06 ?        00:01:01 kdeinit: konqueror --silent
> root     10050   942  0 May06 ?        00:00:07 kdeinit: konqueror --silent
> root     10057   942  0 May06 ?        00:00:57 kdeinit: konqueror --silent
> root     10062     1  0 May06 ?        00:00:07 ark -caption Archiver -icon ark 
> root     11968   942  0 May09 ?        00:00:00 kdeinit: konsole -icon konsole -
> root     11969 11968  0 May09 pts/1    00:00:00 /bin/bash
> root     11990   947  0 May09 ?        00:00:00 /usr/bin/kblankscrn.kss -root
> root     22391     1  0 02:04 ?        00:00:00 /sbin/mount.smbfs //Don/CD-R Bur
> root     22562   686  0 03:50 ?        00:00:00 CROND
> root     22563 22562  0 03:50 ?        00:00:00 /bin/sh -c cp -au /mnt/bu/* /hdb
> root     22575   686  0 04:01 ?        00:00:00 CROND
> root     22576 22575  0 04:01 ?        00:00:00 /bin/bash /usr/bin/run-parts /et
> root     22691 22576  0 04:02 ?        00:00:00 /bin/sh /etc/cron.daily/slocate.
> root     22692 22576  0 04:02 ?        00:00:00 awk -v progname=/etc/cron.daily/
> root     22694 22691  0 04:02 ?        00:00:04 /usr/bin/updatedb -f NFS,SMBFS,N
> root     22772     1  0 07:09 ?        00:00:00 df -h
> root     22891     1  0 07:20 ?        00:00:00 smbd -D
> root     22896     1  0 07:20 ?        00:00:00 nmbd -D
> root     22966     1  0 07:39 ?        00:00:23 /usr/bin/python -u /usr/sbin/up2
> root     22973   610  0 07:42 ?        00:00:01 /usr/sbin/sshd
> root     22974 22973  0 07:42 pts/4    00:00:00 -bash
> root     23122     1  1 07:54 ?        00:00:16 /usr/bin/python -u /usr/sbin/up2
> root     23151   686  0 08:01 ?        00:00:00 CROND
> root     23152 23151  0 08:01 ?        00:00:00 /bin/bash /usr/bin/run-parts /et
> root     23154 23152  0 08:01 ?        00:00:00 awk -v progname=/etc/cron.hourly
> root     23155     1  0 08:01 ?        00:00:00 /bin/sh /usr/lib/sa/sa1 600 6
> root     23157 23155  0 08:01 ?        00:00:00 /usr/lib/sa/sadc 600 6 /var/log/
> root     23159 22891  0 08:06 ?        00:00:00 smbd -D
> root     23163 22974  0 08:16 pts/4    00:00:00 fuser -km /mnt/bu
> root     23164   610  0 08:16 ?        00:00:00 /usr/sbin/sshd
> root     23165 23164  0 08:16 pts/6    00:00:00 -bash
> root     23213   610  0 08:18 ?        00:00:00 /usr/sbin/sshd
> root     23215 23213  0 08:18 pts/7    00:00:00 -bash
> root     23246   942  0 08:18 ?        00:00:00 kdeinit: kio_file file /tmp/ksoc
> root     23257 23165  0 08:19 pts/6    00:00:00 ps -ef
> 
> 
> BTW- fuser is now hung.
> 
> i can reboot the server if we need to, all I need to do is make a phone call...
> 
> Mike
> >
> >
> >-Cooper
> >
> >
> >
> >_______________________________________________
> >PLUG mailing list
> >PLUG at lists.pdxlinux.org
> >http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> _____________________
> Mike De La Mater
> Computer Consulting
> Twenty five years experience
> Netoworks, PCs and office technologies
> 503-702-6749
> mikedela at ipns.com 
> 
> 
> 
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 






More information about the PLUG mailing list