Article View: news.software.nntp
Article #24994Re: INN internal fixed limit on incoming connections?
From: Marc Slemko
Date: Thu, 08 Jan 1998 00:00
Date: Thu, 08 Jan 1998 00:00
28 lines
1724 bytes
1724 bytes
In <Pine.BSF.3.96.980108023016.21255A-100000@coredump.int.tele.dk> Charlie Reboot <f00fc7c8@int.tele.dk> writes: >Platform in question is FreeBSD, has been tuned for an ungodly number of >possible open files, so this should not be a problem. Software is CNFS >INN based on 1.5.1 with one or two local hacks which don't seem to be the >cause of what I see, now that I've looked in the logs. What version of FreeBSD? Did you redefine FD_SETSIZE in the appropriate places? If not, select will die with 256 descriptors (on 2.2, I think it is 1k on -current). A ktrace should show you want system calls are failing. Oh yea, some of the resolver routines fail in some versions of FreeBSD on fds over the FD_SETSIZE from when libc was compiled which could cause you problems. To fix you have to recompile libc with a bigger FD_SETSIZE. Note that, unlike certain dumb OSes, FreeBSD does _not_ have a 256 limit on the stdio FILE structures. http://www.apache.org/docs/misc/descriptors has some misc info and I think I put something in the Apache FAQ about descriptors and FreeBSD.
Technical Details
Message-ID:
<691d94$nfe$1@scanner.worldgate.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<Pine.BSF.3.96.980108023016.21255A-100000@coredump.int.tele.dk>Show Full Headers
Complete Article Headers
Message-ID: <691d94$nfe$1@scanner.worldgate.com> Subject: Re: INN internal fixed limit on incoming connections? Date: Thu, 08 Jan 1998 00:00:00 +0000 From: Marc Slemko <marcs@znep.com> References: <Pine.BSF.3.96.980108023016.21255A-100000@coredump.int.tele.dk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 313812805 Organization: WorldGate Inc. http://www.worldgate.com/ Newsgroups: news.software.nntp