From owner-freebsd-net Fri Sep 28 18:30:43 2001 Delivered-To: freebsd-net@freebsd.org Received: from wren.cs.unc.edu (wren.cs.unc.edu [152.2.128.86]) by hub.freebsd.org (Postfix) with ESMTP id D13C537B409 for ; Fri, 28 Sep 2001 18:30:36 -0700 (PDT) Received: from le-cs.cs.unc.edu (IDENT:le@le-cs.cs.unc.edu [152.2.131.150]) by wren.cs.unc.edu (8.9.3/8.9.3) with ESMTP id VAA17551 for ; Fri, 28 Sep 2001 21:30:33 -0400 (EDT) Date: Fri, 28 Sep 2001 21:30:33 -0400 (EDT) From: Nguyen-Tuong Long Le To: Subject: FD_SETSIZE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I am wondering what is the side effects of increasing FD_SETSIZE beyond 1024? Our group have a propiertary web server software that handles a large number of sockets. While increasing the kern.maxfiles and kern.maxfilesperproc gives our web server more connections, select() seems to fail if the descriptor is beyond 1024. Can I just increase FD_SETSIZE and recompile the kernel? I saw some magic numbers in kern/sys_generic.c and am not sure whether there are some side effects. Thanks, Long P.S. Please kindly email me because I am not in the list. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message