From: chas <panda () peace ! com ! my>
To: tru64-unix-managers
Subject: SUMMARY explanation : Limiting paging space reserved by webservers ?
Date: Tue, 05 May 1998 15:08:15 +0000 [thread overview]
Message-ID: <96078708811369.tru64-unix-managers.marc@archive.invalid> (raw)
This is a little follow up on my earlier summary.
The result is the same - remove /sbin/swapdefault -
but I include explanations of why this helps for
the sake of the archive and general information.
Thanks again to all for the help,
chas
From alan@nabeth.cxo.dec.com :
>Well, the symbolic link is /sbin/swapdefault, not /etc/swapdefault. If
>that isn't there, then you're already running lazy page/swap allocation
>and can't get the page/swap space warnings.
>
>The presense or not of the link when the system boots controls whether
>the VM subsystem will reserve page/swap space for each page created
>or not. Not reserving space allow the virtual memory to approach the
>sum of available memory and page/swap space. When page/swap space
>is reserved, the virtual memory is limited to the amount of page/swap
>space. The disadvantage of the "lazy" mode is that when you run out
>of page/swap space, the kernel starts looking for idle processes to
>kill to more back.
>
>The only safe solutions are to find ways to use less memory or get
>more page/swap space.
--------------
Marek Pola wrote to the same effect :
>> [...]
>> Past summaries in the archive suggested that increasing the
>> vm_mapentries did the trick; others suggested deleting or
>> renaming the symlink /etc/swapdefault but that doesn't even
>> exist on my box.
>
>It should be /sbin/swapdefault. That makes the swapping be non-commited,
>i.e. the system does not reserve swap space any more.
--------------
And if it had been necessary (but fortunately the above surgery
did the trick), there was also the approach of using less memory
(ie. Apache) :
At 08:02 AM 5/5/98 -0500, Brian Benson wrote:
>Use apache, it's lighter, takes up less space and, after you learn to use
>it, you will get much better performance out of your machine. We use
>apache here and last week I switched over to enterprise server just to see
>if there was a difference, the load time was much longer under enterprise
>server. One thing I did note however was I would get random messages but,
>upon turning on the system informtation in the Daily Admin set of tools,
>the swap space was very random.
reply other threads:[~1998-05-05 15:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox