From owner-freebsd-hackers Thu Oct 31 04:02:48 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA24017 for hackers-outgoing; Thu, 31 Oct 1996 04:02:48 -0800 (PST) Received: from trem.cnt.org.br (desvio.cnt.org.br [200.19.123.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id EAA23997 for ; Thu, 31 Oct 1996 04:02:42 -0800 (PST) Received: by trem.cnt.org.br (AIX 3.2/UCB 5.64/4.03) id AA11007; Thu, 31 Oct 1996 10:01:16 -0300 From: ormonde@trem.cnt.org.br (Rodrigo Ormonde) Message-Id: <9610311301.AA11007@trem.cnt.org.br> Subject: Zombie processes To: hackers@freebsd.org Date: Thu, 31 Oct 1996 10:01:15 -0300 (GRNLNDST) X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi. I'm writing a server process that opens a socket for listen and every time a new connection arrives the process is forked and the child deals with the client. Everything is working fine, except for the fact that when the child processes exit they become zombies. Every time a new connection is established and finished there is a new zombie process. I can't execute a wait() on the parent process because it has to listen to new connections and can't be blocked on the wait() call. Is there any way to remove the zombie process from the system without blocking the parent process ? Please send answers directly to me, I'm not on the list. Thanks in advance. -- Rodrigo de La Rocque Ormonde e-mail: ormonde@cnt.org.br PGP Public key: finger ormonde@cnt.org.br