Date: Sun, 19 Nov 1995 14:28:14 -0600 From: Randy Berndt <rberndt@nething.com> To: freebsd-questions@FreeBSD.org Subject: Cap'n, there be Zombies here! Message-ID: <199511192122.PAA23682@vellocet.insync.net>
next in thread | raw e-mail | index | archive | help
I am having a problem with a process generating zombies on a 2.0.5R system. The process forks, and the child queues up a print file to a specific printer: sprintf(qcommand, "lp -c -d %s %s;rm %s;exit 0", printername, filename, filename); execlp("/bin/sh", "sh", "-c", qcommand, 0); exit(0); It appears this code is generating the zombies. Questions: How does a zombie get created anyway? How can I examine a zombie to verify where it is coming from? Does anything in the code look wrong? Thanks. Randy Berndt <rberndt@nething.com> ---------------------------------- AOS/VS, FreeBSD, DOS: I'm in a maze of twisty little command interpreters, all different.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511192122.PAA23682>