From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,be65619929928403,start X-Google-Attributes: gid1164f8,public From: jwest@emag.ecen.okstate.edu (Jim West) Subject: Understanding swap space Date: 2000/01/14 Message-ID: #1/1 X-Deja-AN: 572562661 Organization: Oklahoma State University User-Agent: slrn/0.9.6.2 (OSF1) Newsgroups: comp.sys.dec I have some DEC Alpha Personal Workstations that are running Digital Unix 4.0d. I need to understand something about how they swap. Each one has 1 GB of memory and 1 GB of swap space available. The file /sbin/swapdefaults has been removed. We started up a job that allocates exactly 1 GB of memory. The "top" utility gives a SIZE of the process as 1130 MB after the allocation. Swapping begins quickly as the memory is allocated, which is fine. But what I don't understand is that after a while the system begins complaining that less than 10 % of the swap space is available, and processes begin dying. Why would all the swap space be gobbled up if the core+swap is 2 GB and process is only a 1.1 MB? (Eventually it gets to the point where you can only log in from the console.) Monitoring "top" shows that the SIZE stays at 1130 MB the whole time, so I don't think there is a memory leak. Now obviously I should have allocated more swap space when I installed, but hindsight is 20/20. Is there anyway to allow processes bigger than the physical memory to run without the swap space filling up with the current configuration? If another newsgroup might be more appropriate to ask this question please let me know. Thanks for any help. jw -- James C. West (Jim) jwest@okstate.edu Associate Professor jwest@emag.ecen.okstate.edu Electrical and Computer Engineering Oklahoma State University