home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / 3b1 / 4240 < prev    next >
Encoding:
Text File  |  1993-01-12  |  2.4 KB  |  69 lines

  1. Newsgroups: comp.sys.3b1
  2. Path: sparky!uunet!ceilidh!dnichols
  3. From: dnichols@d-and-d.com (DoN. Nichols)
  4. Subject: Re: wmgr memory leak fixed
  5. Message-ID: <1993Jan12.035233.6131@ceilidh.d-and-d.com>
  6. Sender: usenet@ceilidh.d-and-d.com (Usenet)
  7. Nntp-Posting-Host: shindig
  8. Organization: D and D Data, Vienna VA
  9. References: <1993Jan10.162756.25078@colnet.cmhnet.org>
  10. Date: Tue, 12 Jan 1993 03:52:33 GMT
  11. Lines: 56
  12.  
  13. In article <1993Jan10.162756.25078@colnet.cmhnet.org> res@colnet.cmhnet.org (Rob Stampfli) writes:
  14. >Some weeks ago, there was a thread complaining about the memory leak in
  15. >the /etc/wmgr program.  It could be circumvented by killing the program
  16. >and respawning it manually, but changing console windows caused the program
  17. >to grow incrementally each time this was done.
  18. >
  19. >I have found and fixed the problem in the 3.51 version of the wmgr.  Because
  20.  
  21.     Congratulations, and thanks!
  22.  
  23. >this program is so arcane, I am going to go ahead and post the entire corrected
  24. >executable of wmgr below without trying to obtain permission first.  To extract
  25. >it, remove this portion of the message and feed the rest into sh.  (I wonder
  26. >how many of you will really have the balls to just do it instead of trying to
  27. >figure out what the script does first.)  To install, do the following from
  28.  
  29.     Well, nothing I do really depends on the 3B1 any more, so I felt
  30. that I would just give it a try. :-)  (It worked.)
  31.  
  32. >the console:
  33. >    sh <whereever you saved the bottom part of this msg>
  34. >    sum wmgr
  35. >    (15283 12 wmgr)
  36. >    su root
  37. >    mv /etc/wmgr /etc/wmgr.old
  38. >    mv wmgr /etc
  39. >    ps -e | grep wmgr
  40. >    kill <the wmgr pid>
  41. >    /etc/wmgr
  42.  
  43.     The last line above needs I/O redirection if executed from a remote
  44. system, since it demands a bitmaped window as its output device, so a
  45.  
  46. /etc/wmgr >/dev/w1
  47.  
  48. worked.
  49.  
  50. >This version of wmgr has been running on my 3.51 system, but has not been
  51. >tested on anything earlier.
  52.  
  53.     Since I am running 3.51m, my report adds nothing.
  54.  
  55. >Incidently the program below was sharked.  Shark was published in the
  56. >obsfucated code contest several years back and is a delightful little
  57. >program.  If you do take the time to wade through the obsfucated shell
  58.  
  59.     Nasty little bugger. :-)
  60.  
  61.     Thanks Again
  62.         DoN.
  63.  
  64. -- 
  65.  Email:   <dnichols@d-and-d.com>  |  ...!uunet!ceilidh!dnichols 
  66.          <dnichols@ceilidh.beartrack.com>
  67.  Donald Nichols (DoN.)  |   Voice (Days): (703) 704-2280 (Eves): (703) 938-4564
  68.     --- Black Holes are where God is dividing by zero ---
  69.