Solution to /tmp/ Mount Filling Up and Breaking Litespeed

#1
All,

I'm running cPanel, CloudLinux, and Litespeed. I recently started having an issue where the ~4GB /tmp/ mount would fill up completely, and break Litespeed, and other pieces of my server. These files would be created in the /tmp/lshttpd/ directory, and be named similar to core.52890. These files would also end up in the /usr/share/cagefs-skeleton/ directory, and begin to fill up the rest of my file system - what a disaster.

The solution that Litespeed support gave me was to disable CRIU in the /usr/local/lsws/conf/httpd_config.xml file like this:

<criuEnabled>0</criuEnabled>

If you want to do this through the Litespeed Admin interface, go to Configuration -> Server -> PHP, and then set Enable CRIU to "No."

After that was done, I didn't have any other issues. I hope this will help someone else!

Jacob Hill
 
Last edited:
Top