Socket leak (Was: Re: What triggers "No Buffer Space) ?Available"?

Ulrich Spoerlein uspoerlein at gmail.com
Tue May 15 21:39:34 UTC 2007


I'm slowly cathing up on FreeBSD related mails and found this mail ...

Marc G. Fournier wrote:
> >  > kern.ipc.numopensockets: 7400
> >  > kern.ipc.maxsockets: 12328
> >  >
> >  > ps looks like:
> >  >
> 
> <stuff deleted>
> 
> > 2368  p2  Is+  Sat01PM   0:00.03 /bin/tcsh  > root    2112  0.0  0.1  5220
> > 2360  p3  Ss+  Sat01PM   0:00.04 /bin/tcsh  > root   91221  0.0  0.1  5140
> > 2440  p4  Ss+  11:49PM   0:00.12 -tcsh (tcsh)
> >
> > I don't think those processes should consume 7400 sockets.
> > Indeed, this really looks like a leak in the kernel.
> 
> Robert has sent me a suggestion to try that I'm in the process of putting 
> together right now, involving backing out some work on uipc_usrreg.c ...

How did the backing out work for you?

Ulrich Spoerlein
-- 
"The trouble with the dictionary is you have to know how the word is
spelled before you can look it up to see how it is spelled."
-- Will Cuppy


More information about the freebsd-stable mailing list