Neill R on 20 May 2009 12:11:43 -0700 |
Thank you all for the responses. Stephen, I have tried kill -9 and -11 with no luck. I attached a listing of contents in the directory /proc/$pid/fd/$fd but don't know how to proceed. The state is D. Defunct. 'strace -p pid' says "Process pid attached - interrupt to quit" and stops responding. see below for some other details. How can I put data into one of those fd objects? ---- [root@01A fd]# ps -ef | grep snmpd root 29086 1 0 May10 ? 00:04:43 /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd -a [root@01A fd]# kill -9 29086 [root@01A fd]# ps -ef | grep snmpd root 29086 1 0 May10 ? 00:04:43 /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd -a [root@01A fd]# ---- [root@01A fd]# pwd /proc/29086/fd [root@01A fd]# ll total 15 lrwx------ 1 root root 64 May 20 14:34 0 -> /dev/null lrwx------ 1 root root 64 May 20 14:34 1 -> /dev/null lrwx------ 1 root root 64 May 20 14:34 10 -> socket:[97636612] lrwx------ 1 root root 64 May 20 14:34 11 -> socket:[97636614] lrwx------ 1 root root 64 May 20 14:34 12 -> /dev/null lrwx------ 1 root root 64 May 20 14:34 13 -> socket:[97636611] lr-x------ 1 root root 64 May 20 14:34 14 -> /etc/mtab lrwx------ 1 root root 64 May 20 14:34 2 -> /dev/null l-wx------ 1 root root 64 May 20 14:34 3 -> /var/log/snmpd.log.1 lr-x------ 1 root root 64 May 20 14:34 4 -> pipe:[97636569] l-wx------ 1 root root 64 May 20 14:34 5 -> pipe:[97636569] lr-x------ 1 root root 64 May 20 14:34 6 -> /etc/sensors.conf lr-x------ 1 root root 64 May 20 14:34 7 -> pipe:[97636583] l-wx------ 1 root root 64 May 20 14:34 8 -> pipe:[97636583] lrwx------ 1 root root 64 May 20 14:34 9 -> socket:[97636613] ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|