Date: Sun, 3 Aug 1997 07:34:34 -0700 (PDT) From: "Andrew N. Edmond" <edmond@shaman.lycaeum.org> To: questions@freebsd.org Cc: hackers@freebsd.org Subject: Too many open files in System! Message-ID: <Pine.BSF.3.96.970803072629.4490C-100000@necropolis.org>
next in thread | raw e-mail | index | archive | help
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 ::: \-/ :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970803072629.4490C-100000>