[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parent router leaks file descriptors



On Fri, Oct 04, 2002 at 04:14:51PM +0300, Matti Aarnio wrote:
> > I was bitten by a problem: when child routers die (with segfault, I am
> > attaching a message that triggers this) the parent preocess forks a new
> > child but in process of that, it eventually runs out of file descriptors
> > and fails to start any more children.  Then it starts to just busyloop
> > on pipe() call (if memory serves; anyway on some call that fails with
> > indication of no more descriptors).
> 
>   Hmm.. seg-faults should not happen, neither leaks...
>   I have things to debug, thanks for the experiment case.

  The leakage has been arrested (easy to simulate with  kill -9
  at Solaris, and look what  lsof  tells of the parent process..)

  Those bad headers then...

-- 
/Matti Aarnio	<mea@nic.funet.fi>
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi