Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!sdd.hp.com!wuarchive!uunet!mcsun!ukc!keele!csd35 From: csd35@seq1.keele.ac.uk (Jonathan Knight) Newsgroups: comp.sys.sequent Subject: Re: Sockets: Too many open files on a sequent under dynix Message-ID: <1104@keele.keele.ac.uk> Date: 24 Apr 91 11:11:31 GMT References: <7253@oasys.dt.navy.mil> Organization: University of Keele, England Lines: 23 From article <7253@oasys.dt.navy.mil>, by curt@oasys.dt.navy.mil (Curt Welch): > cluther@supernet.dallas.haus.com (Clay Luther) writes: >>I do not usually read this group, so please email replies to me at >>cluther@supernet.haus.com *or* cluther@ponder.csci.unt.edu. Thanks. > You know, I hate it when people do this. If you care enough to post > a message, can't you at least read the news group for the next week? Yep - I agree. > If all else fails, use setdtablesize(2) to get around your problem. Two other gotcha's. The kernal has a max number of open files variable, it's worth checking that. Then if you go for the setdtablesize() option you'll need to check the max number of processes that can have more than 20 descriptors and also what the max number of descriptors is. Then you'll either have to re-write your code because the stdio library has a max of 20 open files or you'll have to get the BSD4.3 stdio package and build that. I did the latter. -- ______ JANET :jonathan@uk.ac.keele.cs Jonathan Knight, / BITNET:jonathan%cs.kl.ac.uk@ukacrl Department of Computer Science / _ __ other :jonathan@cs.keele.ac.uk University of Keele, Keele, (_/ (_) / / UUCP :...!ukc!kl-cs!jonathan Staffordshire. ST5 5BG. U.K.