On Fri, 5 Jun 1998, Stephen Carpenter wrote:

> This turned out to be almost trivial...simply a few mods, instead of servicing
> requests after connect, it fork()s and lets the child service that connection
> while the parent loops and waits fo rthe next connect. [I think I changed 
> 10 lines of code total]
> 
> This SEEMS to work fine (I havn't really given it a good test -YET)
> except when I connect and then disconnect...the child exists 
> (via _exit(0)) after the client disconnects. The problem is that the
> child then become a zombie.
>
> [ how do I get rid of zombies? ]

See wait(2).

Brandon

-----
Brandon Mitchell <[EMAIL PROTECTED]>   "We all know linux is great... it
PGP: finger -l [EMAIL PROTECTED]          does infinite loops in 5 seconds"
Phone: (757) 596-5550                      --Linus Torvalds
Debian Testing Group status: http://bhmit1.home.ml.org/deb/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to