*BSD News Article 31832


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!usc!cs.utexas.edu!not-for-mail
From: gpk@paw.montana.com (Greg Knoyle)
Newsgroups: comp.unix.bsd
Subject: Open files and Memory yet again.
Date: 19 Jun 1994 22:58:54 -0500
Organization: UTexas Mail-to-News Gateway
Lines: 31
Sender: nobody@cs.utexas.edu
Message-ID: <9406192200.aa25199@paw.montana.com>
NNTP-Posting-Host: news.cs.utexas.edu

OK guys maybe i'm just an idiot but let me detail my little adventure.

So far to set up unlimited open files i have gotten these changes to make to
the .profile in the csh shell.

unlimit openfiles
unlimit memoryuse

or

limit openfiles unlimited
limit memoryuse unlimited

or

limit openfiles unlimited
limit datasize unlimited

Now then the application I am running is a rather large mud called ThunderDome.
The problem is when it gets to exactly 50 players the syslog starts spitting
out   to many openfiles  errors.  Hence any files can't be written and for thoseof you that have played muds it also means your eq gets lost when you rent.

Concerning the above csh setups.  None of them have solved the problem. Are
they in application any different from each other? Or are they all basically thesame setup?  I have been looking for the FreeBSD docs and everytime someone
mails me the supposed FTP site and path I ftp over and nothing nada zip.

Any ideas on my confusion? Oh just in case i missed this. The mud was running
on a different BSD machine for a year with well over 100 players at times.
We made no changes to the code so it's not the actual game that is limiting
the players it's somewhere in the os.
Thanks Greg Knoyle