home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.3b1
- Path: sparky!uunet!ceilidh!dnichols
- From: dnichols@d-and-d.com (DoN. Nichols)
- Subject: Re: wmgr memory leak fixed
- Message-ID: <1993Jan12.035233.6131@ceilidh.d-and-d.com>
- Sender: usenet@ceilidh.d-and-d.com (Usenet)
- Nntp-Posting-Host: shindig
- Organization: D and D Data, Vienna VA
- References: <1993Jan10.162756.25078@colnet.cmhnet.org>
- Date: Tue, 12 Jan 1993 03:52:33 GMT
- Lines: 56
-
- In article <1993Jan10.162756.25078@colnet.cmhnet.org> res@colnet.cmhnet.org (Rob Stampfli) writes:
- >Some weeks ago, there was a thread complaining about the memory leak in
- >the /etc/wmgr program. It could be circumvented by killing the program
- >and respawning it manually, but changing console windows caused the program
- >to grow incrementally each time this was done.
- >
- >I have found and fixed the problem in the 3.51 version of the wmgr. Because
-
- Congratulations, and thanks!
-
- >this program is so arcane, I am going to go ahead and post the entire corrected
- >executable of wmgr below without trying to obtain permission first. To extract
- >it, remove this portion of the message and feed the rest into sh. (I wonder
- >how many of you will really have the balls to just do it instead of trying to
- >figure out what the script does first.) To install, do the following from
-
- Well, nothing I do really depends on the 3B1 any more, so I felt
- that I would just give it a try. :-) (It worked.)
-
- >the console:
- > sh <whereever you saved the bottom part of this msg>
- > sum wmgr
- > (15283 12 wmgr)
- > su root
- > mv /etc/wmgr /etc/wmgr.old
- > mv wmgr /etc
- > ps -e | grep wmgr
- > kill <the wmgr pid>
- > /etc/wmgr
-
- The last line above needs I/O redirection if executed from a remote
- system, since it demands a bitmaped window as its output device, so a
-
- /etc/wmgr >/dev/w1
-
- worked.
-
- >This version of wmgr has been running on my 3.51 system, but has not been
- >tested on anything earlier.
-
- Since I am running 3.51m, my report adds nothing.
-
- >Incidently the program below was sharked. Shark was published in the
- >obsfucated code contest several years back and is a delightful little
- >program. If you do take the time to wade through the obsfucated shell
-
- Nasty little bugger. :-)
-
- Thanks Again
- DoN.
-
- --
- Email: <dnichols@d-and-d.com> | ...!uunet!ceilidh!dnichols
- <dnichols@ceilidh.beartrack.com>
- Donald Nichols (DoN.) | Voice (Days): (703) 704-2280 (Eves): (703) 938-4564
- --- Black Holes are where God is dividing by zero ---
-