Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2008 16:29:14 +0200
From:      Ott =?iso-8859-1?q?K=F6stner?= <ottk@zzz.ee>
To:        freebsd-questions@freebsd.org
Subject:   Re: socket: too many open file descriptors (Re: Python with many threads)
Message-ID:  <200812171629.14056.ottk@zzz.ee>
In-Reply-To: <20081217141746.GA38256@lpthe.jussieu.fr>
References:  <20081217141746.GA38256@lpthe.jussieu.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 17 December 2008 4:17:46 pm Michel Talon wrote:
> Ott K=F6stner wrote:
>=20
> > In /var/log/messages:
> > named[63198]: socket: too many open file descriptors
>=20
> See the sysctl variables:
>=20
>=20
> 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

=2E.. and the problem remains...  :(

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



Regards,
O.K.



=2D-=20
M=F5=F5da oma inteneti kiirust / Test Your Internet speed
http://speedtest.zzz.ee/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812171629.14056.ottk>