On Tue, Aug 11, 2009 at 12:36 PM, Jarl Friis<[email protected]> wrote:
> Hakan Koseoglu <[email protected]> writes:
>> In reality if you are swapping that much in and out, your server
>> performance will be quite severely effected.
> Correct, but in that situation the alternative to have swap available,
> would be that the application would hit a memory-shortage and crash
> with core dump
I definitely agree. Just debugged an issue with an Oracle server where
12GB of RAM was in use and then an addition of 10GB of swap because of
a memory leak issue. Especially in the days of terabyte disk storage
days, setting a couple of GB aside for swap file has no harm.

If you select a too small swap partition size end up in a situation
where you need more, you can always extend it with using an additional
swap file. In the past there were performance implications, not that
much of an issue these days.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org

-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to