From owner-freebsd-doc Mon Mar 9 18:36:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA11787 for freebsd-doc-outgoing; Mon, 9 Mar 1998 18:36:19 -0800 (PST) (envelope-from owner-freebsd-doc@FreeBSD.ORG) Received: from monsoon.dial.pipex.net (monsoon.dial.pipex.net [158.43.128.69]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA11775 for ; Mon, 9 Mar 1998 18:36:16 -0800 (PST) (envelope-from gremlin@dial.pipex.com) Received: (qmail 13350 invoked from network); 10 Mar 1998 02:29:33 -0000 Received: from usr27-edi.cableinet.co.uk (HELO beast) (194.117.147.37) by smtp.dial.pipex.com with SMTP; 10 Mar 1998 02:29:33 -0000 Received: by localhost with Microsoft MAPI; Tue, 10 Mar 1998 02:28:59 -0000 Message-ID: <01BD4BCC.48390570.gremlin@dial.pipex.com> From: Jason To: "'freebsd-doc@FreeBSD.ORG'" Subject: FD_SETSIZE and freeBSD 2.2.5 Date: Tue, 10 Mar 1998 02:28:48 -0000 Organization: Wild Rhino X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, we are running freeBSD 2.2.5. (and very good it is too: fast and stable) We are about to connect apache to a mysql database. This will require 2 file descriptors (for the mysql process) per apache child. Reading the apache documentation suggests there may be a problem which limits the number of file descriptors per process to 256 regardless of the current settings of limit: > > (from apache documentation concerning FreeBSD) > If you are using a version of 2.1-stable from after 1997/03/10 or 2.2 or 3.0-current from before 1997/06/28, there is a limit in the resolver library that prevents it from using more file descriptors than what FD_SETSIZE is set to when libc is compiled. To increase this, you have to recompile libc with a higher FD_SETSIZE. Does this apply to freeBSD 2.2.5? And if so, how do I recompile libc safely? Thanks, Jason To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message