home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / 3b1 / 3852 < prev    next >
Encoding:
Text File  |  1992-11-17  |  3.8 KB  |  92 lines

  1. Newsgroups: comp.sys.3b1
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!elroy.jpl.nasa.gov!usc!rpi!psinntp!psinntp!monymsys!sonyd1.Broadcast.Sony.COM!blilly.UUCP!bruce
  3. From: bruce@blilly.UUCP (Bruce Lilly)
  4. Subject: Re: New WMGR
  5. References: <Bxnx1n.859@zero.com> <953@hawkeye.hawkeye.com>
  6. Organization: Bruce Lilly
  7. Date: Tue, 17 Nov 92 00:26:52 GMT
  8. Message-ID: <1992Nov17.002652.10608@blilly.UUCP>
  9. Reply-To: lilb@sony.compuserve.com
  10. Lines: 80
  11.  
  12. In article <953@hawkeye.hawkeye.com> mps@hawkeye.hawkeye.com (Michael Snyder) wrote:
  13. >From article <Bxnx1n.859@zero.com>, by steve@zero.com (Steve Urich):
  14. >> 
  15. >> Yes this is a good suggestion. I got it and it also fixed the memory
  16. >> leak that was talked about when wmgr gets more then one login window
  17. >> when you make more in the inittab. It used to creep up until the
  18.  
  19. The memory leak is exhibited as new windows are created and
  20. deleted (e.g. by windy -b).
  21.  
  22. >The 'new' wmgr mentioned above appears to be either a part of base 3.51 or
  23. >was on FIXDISK2.0, as my system already has the features mentioned as part
  24. >of the one on OSU-CIS.  The following output from "what" shows what's here
  25. >on hawkeye:
  26. >
  27. >/etc/wmgr:
  28. >     wmgr:wmgr.sl 1.8 
  29.  
  30. That one differs significantly from the one on osu-cis. See below.
  31.  
  32. >I've seen somewhere (another followup) that the one on OSU comes back from
  33. >"what" with version 1.7.  
  34.  
  35. Right. Assuming a progression of version numbers, that would
  36. indicate that the one on osu-cis is not ``new'', but *old*.
  37.  
  38. >  With the 1.8 version, I have run 37 days with two
  39. >gettys running on window devices (may have gone longer... rural power :-)
  40. >and have no known memory leak problems with any processes.
  41.  
  42. The memory leak causes the size of wmgr itself to increase as
  43. windows are created and destroyed. Having N windows open won't
  44. show the problem unless some are closed and new ones opened. No
  45. other programs are directly affected; the size increase of wmgr
  46. itself causes a noticeable performance decrease, especially when
  47. switching between windows, due to the necessity to page and/or
  48. swap the increased wmgr process.
  49.  
  50. The 1.8 version is either from 3.51 or FIXDISK2, and has the
  51. memory leak problem (the operation has been the same here, from
  52. original 3.51 through 3.51m, so I suspect 1.8 came with the
  53. original 3.51--1.7 certainly wasn't with 3.51).  So far, I
  54. haven't seen any evidence of memory leak with 1.7:
  55.  
  56. ps -elf | egrep "wmgr|RSZ"
  57.  
  58.   F S    UID   PID  PPID  C PRI NI ADR SZ:RSZ   WCHAN   STIME  TTY  TIME COMD
  59.   1 S   root  8992     1  3  27 20 147  6: 12   5bf14 20:11:19  w3  0:46 wmgr
  60.  
  61. With wmgr.sl 1.8, the SZ and RSZ fields will increase as windows
  62. are created and destroyed (apparently memory is malloc'ed each
  63. time a window is created, but is not free'd when the window is
  64. destroyed).
  65.  
  66. wmgr.sl 1.7 differs from 1.8 in its use of the Suspend, Resume,
  67. Shift-Suspend and Shift-Resume keys:
  68.  
  69. Key                1.7                          1.8
  70. Suspend        Window menu                Window menu
  71. Resume         switch to previous window  Window menu
  72. Shift-Suspend  Window menu                switch to previous window
  73. Shift-Resume   switch to next window      switch to next window
  74.  
  75. After 4 years of training, it's difficult to retrain one's
  76. fingers :-(.  But not having to contend with the memory leak
  77. (assuming it doesn't show up as I open and close more windows)
  78. is a big plus--I'll stick with this old version unless it shows
  79. up some major bug(s).
  80.  
  81. Any AT&T'ers or Convergent folks have access to the revision
  82. history for wmgr?  Aside from the obvious operational change
  83. w.r.t. Suspend/Resume etc., and the presumably unintentional
  84. introduction of a memory leak, what changed from 1.7 to 1.8?
  85. Am I giving up any features by going backwards to 1.7? Can I
  86. expect to see some bug(s) which was/were fixed by the change to
  87. 1.8?
  88.  
  89. -- 
  90.     Bruce Lilly        blilly!bruce@Broadcast.Sony.COM
  91.                     ...uunet!sonyusa!sonyd1!blilly!bruce
  92.