home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / bsd / 10112 < prev    next >
Encoding:
Internet Message Format  |  1992-12-11  |  1.9 KB

  1. Path: sparky!uunet!ogicse!news.u.washington.edu!ns1.nodak.edu!plains.NoDak.edu!tinguely
  2. From: tinguely@plains.NoDak.edu (Mark Tinguely)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: Occasional system hangs
  5. Message-ID: <Bz495r.Byn@ns1.nodak.edu>
  6. Date: 11 Dec 92 22:29:51 GMT
  7. Article-I.D.: ns1.Bz495r.Byn
  8. References: <andrewh.724059111@bruce.cs.monash.edu.au> <1gaclpINN84v@hrd769.brooks.af.mil> <1992Dec11.210430.17335@coe.montana.edu>
  9. Sender: usenet@ns1.nodak.edu (News login)
  10. Organization: North Dakota State University
  11. Lines: 24
  12. Nntp-Posting-Host: plains.nodak.edu
  13.  
  14.  
  15.  Did all of you with 16+ Megs of RAM apply the patch to restrict the size of
  16.  bufpages (Terry Lambert's patchkit patch #2. The calculations for
  17.  bufpages were being done interchangedly in pages and bytes, the fix
  18.  did not correct the calculation problem, but limited the error of the
  19.  calculation; without this correction, too much RAM is lost to bufpages).
  20.  
  21.  Besides, there are small memory leaks in the kernel; Programs that fork a lot,
  22.  cause the system to hang (make and apparently news); Big programs like X
  23.  also make hanging very likely; Even a couple simple looping mallocing
  24.  processes can hang a system.
  25.  
  26.  I agree that a kernel fix is better than a symptom avoidance technique.
  27.  The kernel change is massive. The VM allows over extention of the swap
  28.  backstore (and this can lead to the system freeze -- all of the swap
  29.  blocks are used or fragmented to a point a certain size block cannot be
  30.  allocated, new request for VM -- page a new part of a program, use of an already
  31.  malloced **but memory in swap backstore is not reserved until paged out**
  32.  memory, forking (only small part is new on a fork), and exec-ing a new program
  33.  will look for physical memory, but cannot get it until the dirty pages
  34.  are put on swap backstore, but backstore is full ... system will work the
  35.  drive a little but will eventually freeze.
  36.  
  37. --mark.
  38.