From owner-freebsd-bugs Tue Jun 6 2:22: 9 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 952AD37B557; Tue, 6 Jun 2000 02:22:07 -0700 (PDT) (envelope-from alfred@FreeBSD.org) Received: (from alfred@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA89942; Tue, 6 Jun 2000 02:22:07 -0700 (PDT) (envelope-from alfred@FreeBSD.org) Date: Tue, 6 Jun 2000 02:22:07 -0700 (PDT) From: Message-Id: <200006060922.CAA89942@freefall.freebsd.org> To: abunjami@columbus.rr.com, alfred@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/17154: need to raise file descriptor limit, its 1024 now. i did sysctl but cant get FD_SETSIZE to raise Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: need to raise file descriptor limit, its 1024 now. i did sysctl but cant get FD_SETSIZE to raise State-Changed-From-To: open->closed State-Changed-By: alfred State-Changed-When: Tue Jun 6 02:19:56 PDT 2000 State-Changed-Why: FD_SETSIZE can be defined at compile time of userland programs, from sys/types.h: /* * Select uses bit masks of file descriptors in longs. These macros * manipulate such bit fields (the filesystem macros use chars). * FD_SETSIZE may be defined by the user, but the default here should * be enough for most uses. */ #ifndef FD_SETSIZE #define FD_SETSIZE 1024 #endif If the user is speaking of the kernel max file descriptors this is an unfortunate limitation, but can be worked around via boot time config and/or kernel recompiling. http://www.freebsd.org/cgi/query-pr.cgi?pr=17154 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message