Disable swap in Linux Rumi, February 24, 2020 Identify configured swap devices and files with cat /proc/swaps. Turn off all swap devices and files with swapoff -a. Remove any matching reference found in /etc/fstab. Optional: Destroy any swap devices or files found in step 1 to prevent their reuse. Due to your concerns about leaking sensitive information, you may wish to consider performing some sort of secure wipe. Related Administrations Configurations (Linux) Swap
Create a RAID array using with mdadm November 23, 2023 mdadm (multiple devices admin) is an extremely useful tool for running RAID systems. It’s is a tool for creating, managing, and monitoring RAID devices using the md driver. It can be used as a replacement for the raidtools, or as a supplement. You can use whole disks (/dev/sdb, /dev/sdc) or individual partitions… Read More
Using FastCGI with Nginx for Performance on a VM November 11, 2012November 11, 2012 This weekend I decided to play around with the configuration on my Rackspace Cloud Server. Since our various websites have been doing well lately, the relatively low-powered machine I am running on is starting to fill up its available RAM. So far so good but as everyone quickly learns –… Read More
Understanding Linux CPU Load November 10, 2012 You might be familiar with Linux load averages already. Load averages are the three numbers shown with the uptime and top commands – they look like this: load average: 0.09, 0.05, 0.01 Most people have an inkling of what the load averages mean: the three numbers represent averages over progressively… Read More