home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 16049 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.9 KB

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