|
|
|
|
|
by csdtx
1984 days ago
|
|
Just getting into FreeBSD and reading through the Absolute FreeBSD book right now. Remembered that Michael states "The main use for swap on modern systems is to have a place to store
a memory dump should the system panic and crash." I think this is reason enough to enable swap even if you do not plan on using swap for system memory. It's always nice to have a memory dump if the system crashes so you can check what the issue was and correct it. If you wouldn't want to fix those kinds of issues why would you be running FreeBSD anyway? |
|
On the other hand, I have run continuously, 24/7, for almost 20 years a FreeBSD server without any swap and without ever seeing any crash or panic. In my opinion the swap is useless and it is better to just install enough physical memory.
I reboot that system just once a year or so, for a kernel update or a hardware upgrade.
I run on it a large number of services, mostly Internet related, e.g. firewall, router, NTP server, DNS server for outside, DNS resolver for the internal network, e-mail server, Web server, Web proxy, file server.