Date: Tue, 6 Jun 2000 02:22:07 -0700 (PDT) From: <alfred@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 Message-ID: <200006060922.CAA89942@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006060922.CAA89942>