DmC Posted March 18, 2019 Posted March 18, 2019 Internal Server Error 500 The system failed to open the session file “/var/cpanel/sessions/raw/:XyA_S2NFuNpqDEcE” because of an error: No such file or directory at /usr/local/cpanel/Cpanel/Session.pm line 268. cpsrvd/11.64.0.36 Server at tommy.heliohost.org 1
DmC Posted March 18, 2019 Author Posted March 18, 2019 Argh.../var is full again. I think it's time for a root crontab hourly job where the script will check the /var allocation and wipe it clean if its more than 90%. Or reducing the accounts. Or making /var bigger. Or something. This is a daily issue. 1
wolstech Posted March 18, 2019 Posted March 18, 2019 That last few cases of this were caused by abuse, specifically infected Wordpress installations generating thousands of spam emails. Even though our system prevents them from sending, they still waste space... We ought to just make it larger though in my opinion. Even after cleaning it only has maybe 1GB free. 1
schase Posted March 18, 2019 Posted March 18, 2019 Same problem here: I can't log in, my WordPress site non-functional, but my plain vanilla HTML site is functioning. Would love to see this resolved once and for all!
Flaze Posted March 18, 2019 Posted March 18, 2019 Same problem here: I can't log in, my WordPress site non-functional, but my plain vanilla HTML site is functioning. Would love to see this resolved once and for all!Ever thought of switching to Joomla? WordPress is completely unoptimized and could cause a high server load (depends on what plugins you use).
wolstech Posted March 18, 2019 Posted March 18, 2019 WordPress is completely unoptimized and could cause a high server load (depends on what plugins you use).Ironically, WP was actually the direct cause of at least one if not more than one of the /var issues. The downtime was basically a result of WP getting infected and sending spam (email lives on /var when it's waiting to be sent...in that case, the spam never sent because it was spam, so it sat and clogged up the space). We recommend not using WP if at all possible for this and many other reasons... 1
DmC Posted March 18, 2019 Author Posted March 18, 2019 (edited) WordPress is completely unoptimized and could cause a high server load (depends on what plugins you use).Ironically, WP was actually the direct cause of at least one if not more than one of the /var issues. The downtime was basically a result of WP getting infected and sending spam (email lives on /var when it's waiting to be sent...in that case, the spam never sent because it was spam, so it sat and clogged up the space). We recommend not using WP if at all possible for this and many other reasons... Maybe, I don't even know if it's possible, pending to be sent mail should be put on another partition, /var/something or /something. Because (I guess) that way only the outbound mail function will break in such a case, not everything. I don't even have inbound mail currently. Hopefully the pending inbox mail won't get lost Edited March 18, 2019 by DmC
DmC Posted March 18, 2019 Author Posted March 18, 2019 (edited) It seems that somehow /var got to 96% and things started working again. But 96% is a certain downtime really really soon again Edited March 18, 2019 by DmC
wolstech Posted March 19, 2019 Posted March 19, 2019 675MB free as of this writing...http://heliohost.grd.net.pl/disk-space/
DmC Posted March 19, 2019 Author Posted March 19, 2019 Swap is having a hard time too I notice: Swap 99.98 %
Recommended Posts