Technology Errors

Litespeed Error Log:[ERROR] Swapping directory is not writable:/tmp/lshttpd/swap/

I booted up a server yesterday that I had not used in quite a long time and had some issues right from the beginning. I remembered the server working the last time it was live so I was assuming I could boot it up and test something on the ruby application that was installed on it. Anyhow when I attempted to connect to the web server, which is Litespeed, via a browser it would simply hang. Below is information regarding what I did to troubleshoot, what the error was, and how the error was corrected.

Technology Insights

How to Stop Windows XP From Using the PageFile for SWAP

You can stop Windows XP from using the pagefile.sys file for SWAP memory however it is not typically recommended. Most suggestions on the Internet say that you should always make the pagefile 1.5 times the amount of physical memory you have in the Windows PC. It is also mentioned that you should have at least 1GB of memory if you are going to disable the Windows SWAP. Windows should not use SWAP (pagefile.sys) unless it has run out of RAM (memory) to use however I noticed on my PC that it appeared as though SWAP was being used after only 20% or so of my actual physical memory was being used so I decided to try disabling the SWAP and so far it has made most things faster on my PC.

To disable the Windows SWAP memory usage follow the below simple steps which will require a reboot at the end of configuration.

Technology Insights

Performance Settings and pagefile.sys Should be Investigated after Upgrading RAM on Windows

After upgrading the RAM on your Windows XP or Windows Vista computer (laptops and desktops) you should review your performance settings. The primary concern will be your pagefile.sys size to make sure it matches or exceeds the amount of RAM you have in the computer. For those of us that are familiar with Linux more so than Windows the pagefile is also called the swap file in Windows. The pagefile or swap file is used for anything that won’t fit into RAM so technically it is an overflow for RAM so the excess has somewhere to go.

RAM: Random Access Memory