Subject: Re: Zombie Processes

From: Kazushi (Jam) Marukawa <[email-masked]>
Date: Tue, 25 Jun 1996 07:35:19 +0900

On Jun 20, 16:30, David Emmerson wrote:
   > Subject: Re: Zombie Processes
   > 
   > Any hints?

	I think that this is a problem of OS.  My friend told me that he
read a BUG report of this problem in BSD/OS mailing-list.  I read the
report and thought so.  Please remember this when thinking about how to
treat following hints.

	I got a patch for traditional ftpd from Dr. saitoh
(saitoh@{ics.ES,rd.ecip}.osaka-u.ac.jp).  Please remember his name because
I didn't find a way of how to fix it.  He found it.

	The patch just likes follwing.

+	alarm(60);
	s = accept(pdata, (struct sockaddr *)&from, &fromlen);
+	alarm(0);

	I used this for ftpd.c of beta-8 and it has worked fine.  I had 1
trouble in 7 months.  It means that this patch is almost perfect, I think
so.

	And few minutes ago I tried to read ftpd.c of beta-10.  I found
some codes around calling an accept function.  I guess somebody tried to
correct this problem.  I don't know beta-10 works fine or don't work.  I
know only above patch works fine on beta-8.

Good Luck,
-- Kazushi Marukawa