An ancient thumb rule says swap space should equal installed RAM. Is this still true when there are some GB available? Elsewhere double or even four times RAM is recommended.
Depends on is always a good answer, but how to determine a reasonable swap value, as usage might be very different? At least on my few boxes I rarely saw swap was ever used. The maximum I saw were a few hundred MB swap on a machine with only 1 GB RAM. Is there a way to get the maximum swap used logged somehow in a month's period or so?
I'm interested is this, because here are applications with 8 GB RAM and 40 GB SSD-HDs. So logging memory usage and swap usage is what I'm looking for. Any hints in terms of amount RAM/swap per user?
Depends on is always a good answer, but how to determine a reasonable swap value, as usage might be very different? At least on my few boxes I rarely saw swap was ever used. The maximum I saw were a few hundred MB swap on a machine with only 1 GB RAM. Is there a way to get the maximum swap used logged somehow in a month's period or so?
I'm interested is this, because here are applications with 8 GB RAM and 40 GB SSD-HDs. So logging memory usage and swap usage is what I'm looking for. Any hints in terms of amount RAM/swap per user?