Date: Fri, 24 Mar 1995 22:32:05 -0600 (CST) From: TR Nguyen <nguyen@omega.uta.edu> To: freebsd-questions@wcarchive.cdrom.com Subject: # of descriptors per process Message-ID: <199503250432.WAA14041@omega.uta.edu>
next in thread | raw e-mail | index | archive | help
Hello developers! According to the header sys/select, select(2) could poll up to 256 file descriptors simultaneously (#define MAXSELFD). However, a test program, using getdtablesize() or sysconf(), only returns 64, indicating that a process could have up to maximum of 64 files/sockets,etc, open. I'm writing a server and I need to tweak this number. I've checked the kernel CONFIG files, the FAQ, but saw no reference to how I can bring it up to a higher value -- at up to 256, if it's possible. Please help! TR Nguyen ----------------------------------------+------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503250432.WAA14041>