tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: 2> Which processes get killed off when you run out of swap?
@ 1999-09-16  7:47 alan.garde
  0 siblings, 0 replies; only message in thread
From: alan.garde @ 1999-09-16  7:47 UTC (permalink / raw)
  To: tru64-unix-managers


I received this from Dr Blinn, which I will take as the definitive answer
for this!
If it was causing us a major problem I would get more disk... but currently
any new disks we
buy instantly get appropriated to stop those nasty users from filling up
/users...

Alan

---



When you are running swap overcommit mode, the process that dies usually
is a process that has not run in a long time, since it will have pages on
the "not used in a long time and eligible for recovery" list, and once a
page is on that list and selected by the memory management subsystem (we
call it the "virtual memory" system) to be swapped out and no swap space
is available, the process owning the page is killed (which resolves the
"page must be swapped out and no swap space is available" problem).  So,
the most likely process to die is one that has pages in memory that have
not been accessed in a long time.

If you can't manage the work load to prevent problems like this, then you
may need to run with "eager" swap and simply dedicate a whole lot of disk
space to swapping.  Yes, that's ugly.

Tom

 Dr. Thomas P. Blinn + UNIX Software Group + Compaq Computer Corporation
  110 Spit Brook Road, MS ZKO3-2/W17   Nashua, New Hampshire 03062-2698
   Technology Partnership Engineering           Phone:  (603) 884-0646
    Internet: tpb@zk3.dec.com           Digital's Easynet: alpha::tpb
     ACM Member: tpblinn@acm.org         PC@Home: tom@felines.mv.net

  Worry kills more people than work because more people worry than work.

      Keep your stick on the ice.        -- Steve Smith ("Red Green")

     My favorite palindrome is: Satan, oscillate my metallic sonatas.
                                         -- Phil Agre, pagre@ucsd.edu

     Yesterday it worked / Today it is not working / UNIX is like that
			-- apologies to Margaret Segall

  Opinions expressed herein are my own, and do not necessarily represent
  those of my employer or anyone else, living or dead, real or imagined.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-09-16  7:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-16  7:47 Summary: 2> Which processes get killed off when you run out of swap? alan.garde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox