OpenLiteSpeed move Swapping Directory

By default OpenLiteSpeed use /tmp/lshttpd/swap for temp files. If your /tmp partition is small, disk may get full.

To move OpenLiteSpeed swap partition to / partition do the following.

Now login to OpenLiteSpeed admin interface at

If you don’t have user name and password, you can reset it by running command

Once logged in, go to

OpenLiteSpeed

Under “Server Process’ section, you need to edit value of “Swapping Directory”. Default value is “/tmp/lshttpd/swap”, change it to “/lswstmp/lshttpd/swap”.

Restart OpenLiteSpeed. You can do it using web interface or using SSH.

See OpenLiteSpeed

Leave a Reply

Your email address will not be published. Required fields are marked *