home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.linux:16049 rec.games.mud.lp:4068
- Path: sparky!uunet!pmafire!news.dell.com!natinst.com!cs.utexas.edu!usc!rpi!batcomputer!munnari.oz.au!uniwa!uniwa!nfm
- From: oreillym@tartarus.uwa.edu.au (Michael O'Reilly)
- Newsgroups: comp.os.linux,rec.games.mud.lp
- Subject: Re: Can't get LP-Mud 3.1.2 to work well under Linux...
- Date: 8 Nov 1992 22:01:24 +0800
- Organization: Home
- Lines: 46
- Message-ID: <1dj6jkINNden@tartarus.uwa.edu.au>
- References: <1992Nov7.201150.29492@cs.ucla.edu>
- NNTP-Posting-Host: tartarus.uwa.edu.au
- X-Newsreader: TIN [version 1.1 PL6]
-
- Dr Algirdas Avizienis (aviz@lanai.cs.ucla.edu) wrote:
- : Hello there!
- :
- : I am using Linux 0.98pl3 w/TCP/IP compiled in on a 386/25
- : with 8 megs of RAM. For the last few days i've been
- : trying to get LPmud 3.1.2 to work, but to no avail.
-
- First a quick fix. Try and get the latest TCP patches.
-
- : I've gotten it compiled, and it runs and all, but
- : if I log onto the MUD, it crashes usually in about
- : 10 minutes.
- :
- : I usually get the message:
- : dev_rint: dropping packets due to lack of memory
- : and then I get the message:
- : accept: out of memory
- :
- : and an IOT trap/Abort (core dumped).
- :
- : However, when this happens I usually still have at
- : least 5 megs left! I thought it might have been
- : a problem with smalloc.c, so I tried gmalloc.c,
- : but I had the same problem.
-
- The problem is that accept() doesn't properly free inode's when it
- fails.
-
- : I've tried linking with the -static option on gcc,
- : because someone previously had mentioned that
- : if you linked dynamically, there would be problems
- : with smalloc, but it didn't help either.
- :
- : Can someone PLEASE give me some advice? I
- : am quite stuck.
- :
- : Thanks a lot.
-
-
- Another fix.
- Modify comm1.c to select() on the socket, and only try to accept() if
- select() returns true on the socket. If you don't know what this
- means, then just go look hard for the patches. Sorry, I don't have
- them. Subscribe to the NET mailing list.
-
- Michael
-