Originally Posted by
HunterSBuntu
I'm not sure how to proceed from this point. Should I kill the /usr/bin/python process every time I boot my computer? Will that impact other programs on my computer that are using Python?
You can kill this process without impacting other Python processes on the system. But it's going to be annoying to do it on each boot up.
Originally Posted by
HunterSBuntu
Any ideas on how to further isolate why exactly Python is always leaving this zombie process?
It's possible that the process logged some stuff to syslog before going defunct, and the log messages will be tagged with the process ID number. So you might try:
Code:
sudo grep -r <pid> /var/log
Obviously, substitute the PID you got from the ps command for <pid> in the command above.
I'm not sure what happens in /proc when a process goes defunct. If you can cd into /proc/<pid>, you might be able to figure out something about the process from the various files in that directory.
1) "cat cmdline" should give you the name the process is running under (although this may just return "defunct" unfortunately)
2) "sudo cat environ | perl -pe 's/\000/\n/g'" gets you the environment variable settings for the process
3) "sudo ls -l fd" shows you what files the process currently has open
4) "sudo ls -l cwd" shows you the current working directory of the process
5) "sudo strings exe | less" will let you see the strings embedded in the executable (something like the "usage" message or help text embedded in the executable may tip you off about what the process is)
Bookmarks