From owner-freebsd-questions@FreeBSD.ORG Wed Dec 17 14:29:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1BC91065672 for ; Wed, 17 Dec 2008 14:29:18 +0000 (UTC) (envelope-from ottk@zzz.ee) Received: from zzz.ee (kalah.zzz.ee [194.204.30.253]) by mx1.freebsd.org (Postfix) with ESMTP id 6D3B58FC23 for ; Wed, 17 Dec 2008 14:29:18 +0000 (UTC) (envelope-from ottk@zzz.ee) Received: from zzz.ee (localhost.zzz.ee [127.0.0.1]) by zzz.ee (Postfix) with ESMTP id 19E36FD387 for ; Wed, 17 Dec 2008 16:29:17 +0200 (EET) Received: by zzz.ee (Postfix, from userid 3019) id 18887FD317; Wed, 17 Dec 2008 16:29:17 +0200 (EET) X-Spam-Checker-Version: SpamAssassin on spamassassin.zzz.ee X-Spam-Level: X-Spam-Guessed-Language: X-Spam-Status: No, score=-4.5 required=5.0 tests=ALL_TRUSTED,BAYES_45 X-Spam-Checker-URL: http://info.zzz.ee Received: from ott.sise (adsl215.uninet.ee [194.204.62.215]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by zzz.ee (Postfix) with ESMTPS id BA1B6FD384 for ; Wed, 17 Dec 2008 16:29:14 +0200 (EET) From: Ott =?iso-8859-1?q?K=F6stner?= To: freebsd-questions@freebsd.org Date: Wed, 17 Dec 2008 16:29:14 +0200 User-Agent: KMail/1.9.10 References: <20081217141746.GA38256@lpthe.jussieu.fr> In-Reply-To: <20081217141746.GA38256@lpthe.jussieu.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200812171629.14056.ottk@zzz.ee> X-Virus-Scanned: ClamAV using ClamSMTP @zzz.ee Subject: Re: socket: too many open file descriptors (Re: Python with many threads) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2008 14:29:18 -0000 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/