socket: too many open file descriptors (Re: Python with many threads)

Ott Köstner ottk at zzz.ee
Wed Dec 17 14:29:18 UTC 2008


On Wednesday 17 December 2008 4:17:46 pm Michel Talon wrote:
> Ott Köstner wrote:
> 
> > In /var/log/messages:
> > named[63198]: socket: too many open file descriptors
> 
> See the sysctl variables:
> 
> 
> kern.maxfiles
> kern.maxfilesperproc

kern.maxfiles: 12328
kern.maxfilesperproc: 11095

> Note that Google leads immediately to this:
> http://unix.derkeiler.com/Mailing-Lists/FreeBSD/net/2008-07/msg00251.html

Yes, actually I saw this. 11095 seemed a big number in this case.

Increased to:
kern.maxfiles: 25000
kern.maxfilesperproc: 20000

... and the problem remains...  :(

There are also messages like this:
named[63198]: client 127.0.0.1#60448: error sending response: host unreachable



Regards,
O.K.



-- 
Mõõda oma inteneti kiirust / Test Your Internet speed
http://speedtest.zzz.ee/


More information about the freebsd-questions mailing list