Process hanging on 6.0-STABLE

Daniel O'Connor doconnor at
Fri Mar 31 00:38:54 UTC 2006

On Wednesday 22 March 2006 23:49, Daniel O'Connor wrote:
> On Wednesday 22 March 2006 18:41, David Xu wrote:
> > > The problem is that every now and then the process gets stuck and
> > > becomes unkillable just after forking, ie..
> >
> > Are you using pthreads ?
> Nope.

Hmm I just found I had an FD leak - I am not sure if it's related.

Interestingly I had ~1046 FDs open and FD_SET wasn't working properly, eg...
    fd_set		fds;
    int			fd;

    fd = 1046;
    FD_SET(fd, &fds);

Results in fds being empty :(

Does anyone know if that is expected behaviour? And whether this problem could 
cause the second one (eg tickle a bug).


Daniel O'Connor software and network engineer
for Genesis Software -
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the freebsd-stable mailing list