From owner-freebsd-questions Fri Mar 24 23:54:53 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA11628 for questions-outgoing; Fri, 24 Mar 1995 23:54:53 -0800 Received: from wcarchive.cdrom.com (wcarchive.cdrom.com [192.216.191.11]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id XAA11622 for ; Fri, 24 Mar 1995 23:54:52 -0800 Received: from omega.uta.edu (omega.uta.edu [129.107.1.23]) by wcarchive.cdrom.com (8.6.8/8.6.6) with ESMTP id XAA08147 for ; Fri, 24 Mar 1995 23:54:27 -0800 Received: (from nguyen@localhost) by omega.uta.edu (8.6.9/8.6.9) id WAA14041 for freebsd-questions@freebsd.cdrom.com; Fri, 24 Mar 1995 22:32:05 -0600 From: TR Nguyen Message-Id: <199503250432.WAA14041@omega.uta.edu> Subject: # of descriptors per process To: freebsd-questions@wcarchive.cdrom.com Date: Fri, 24 Mar 1995 22:32:05 -0600 (CST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 602 Sender: questions-owner@FreeBSD.org Precedence: bulk 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 ----------------------------------------+------------------------------------