From owner-freebsd-hackers Sun Aug 3 07:38:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA26747 for hackers-outgoing; Sun, 3 Aug 1997 07:38:28 -0700 (PDT) Received: from necropolis.org ([207.66.220.160]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA26741; Sun, 3 Aug 1997 07:38:24 -0700 (PDT) Received: from localhost (edmond@localhost) by necropolis.org (8.8.5/8.8.5) with SMTP id HAA04733; Sun, 3 Aug 1997 07:34:35 -0700 (PDT) X-Authentication-Warning: necropolis.org: edmond owned process doing -bs Date: Sun, 3 Aug 1997 07:34:34 -0700 (PDT) From: "Andrew N. Edmond" X-Sender: edmond@necropolis.org To: questions@freebsd.org cc: hackers@freebsd.org Subject: Too many open files in System! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am writing a multithreaded application (using MIT pthreads 1.6) that MUST have thousands of open files, and nearly 4000 open sockets. I'm getting this error when I try to accept on this many sockets: error on accept: Too many open files in system I set CHILD_MAX and OPEN_MAX to 4098 in the kernel, and I can't find a way to get accept to open any more sockets. Any ideas? Andy ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: \-/ :::::::: Andrew N. Edmond - finger for PGP key :::::::::: \-/ /-\ :::::: ............ :::::: /-\ \-/ ::: edmond@lycaeum.org :::::: an1@anon.nymserver.com ::: \-/ /-\ : Director of the Lycaeum :: the Nymserver Administrator : /-\ \-/ ::: www.lycaeum.org :::::: www.nymserver.com ::: \-/ :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::