Article View: news.software.nntp
Article #83868Re: File descriptor limits.
From: Ralf Döblitz
Date: Tue, 15 Feb 2011 07:26
Date: Tue, 15 Feb 2011 07:26
26 lines
2711 bytes
2711 bytes
D. Stussy <spam+newsgroups@bde-arc.ampr.org> wrote:
> I'm having a problem with the number of file descriptors.
>
> I'm getting these errors in my logs - wtih 1024 descriptors:
>
> innd: SERVER cant accept RCreader Too many open files
> innd: innfeed! cant socketpair Too many open files
> innd: innfeed! cant restart Too many open files
> innd: tradindexed: cannot open /news/overview/...IDX: Too many open files
>
> ...And when I increase the number ("ulimit -n") to above 1,024, I get:
>
> innfeed[5925]: ME fd (1026) looks too big (1024 -- FD_SETSIZE)
> (and the connection is rejected)
[...]
> Probably something obvious here, but I'm just not seeing it....
You lost. Looks like someone is using select() and your libc is
compiled with a limit of 1024 for the file descriptor set used by
that syscall. Recompile the C library (har har) or switch to using
epoll() or something like that (system-specific).
Ralf (hit the limit of 4096 with apache on linux)
--
"de.alt.comp.kde Dumm und trotzdem UNIX verwenden? KDE ist die Loesung."
– Sven Paulus in <67hu21$43r$1@imperator.oops.sub.de>
Technical Details
Message-ID:
<ijd9rf$vl6$2@selene.doeblitz.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news2.euro.net!news.mixmin.net!news.buerger.net!uucp.gnuu.de!doeblitz.net!not-for-mailReferences:
<ijc6vh$12l$1@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <ijd9rf$vl6$2@selene.doeblitz.net>
Subject: Re: File descriptor limits.
Date: Tue, 15 Feb 2011 07:26:39 +0000
From: Ralf Döblitz <doeblitz@doeblitz.net>
References: <ijc6vh$12l$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news2.euro.net!news.mixmin.net!news.buerger.net!uucp.gnuu.de!doeblitz.net!not-for-mail
Newsgroups: news.software.nntp
Organization: private site in Braunschweig, Germany
Lines: 26
NNTP-Posting-Host: selene.escape.de
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: selene.doeblitz.net 1297754799 32422 194.120.234.83 (15 Feb 2011
X-Complaints-To: usenet@selene.doeblitz.net
NNTP-Posting-Date: Tue, 15 Feb 2011 07:26:39 +0000 (UTC)
Cancel-Lock: sha1:vRP04yXkvoUQ9m0t/8qzvnEanns=
Mail-Copies-To: nobody
X-Face: MTa[OP$pr;
PqMc)e|d9BmnYq|Ir0`Ijj)kNr"C:9lS:bjC1P`Y>eWC41xS,XF96GoZH8WOl
^L#i6KSohA`[`_P->X=Q|g?{H{B):V5>&z"M>njIRGN:5"VBu,OLOe%v6\{@iS
X-Alignment: Lawful Evil
X-No-Archive: Yes
X-Archive: http:/www.netzverwaltung.net/archive/_outgoing/
User-Agent: tin/1.9.3-20080506 ("Dalintober") (UNIX) (Linux/2.6.26-2-amd64
(x86_64))
X-Original-Bytes: 2463