Having your production servers go through a proxy like Squid for internet access can be an architectural best practice that provides network security as well as caching efficiencies.
For further security, denying access to all requests but an explicit whitelist of domains provides auditable control.
Continue reading “Squid: Controlling network access using Squid and whitelisted domains”
Before virtualization, there was a stronger argument for using a swap partition instead of a swap file for servers. A fragmented swap file could lead to performance issues that a statically sized and placed partition did not have consider.
But once virtualization comes into play, unless you go to great lengths to segment your storage pools, that swap partition is not guaranteed to be either statically sized or statically placed on a physical platter. And at that point, you should consider using a swap file which provides more flexibility in sizing and capacity planning.
Here are instructions for adding a 16Gb swap file to Ubuntu:
Continue reading “Ubuntu: Using a swap file instead of swap partition for virtualized server VMs”