can't recover after php error.

#1
When php error comes up (could be a wp memory limit hit or anything), in any of the websites hosted on the server, openlitespeed reboots.

The core file that gets created is empty (0KB).

Then it reboots several times and new empty core files are created.

After that, I can’t log in any of the sites.

It looks like the disk is full even though it isn’t.

mysqli_query(): (HY000/1021): Disk full (/tmp/#sql-temptable-53b-4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") in /home/$
2020-11-02 08:11:39.522260 [NOTICE] [162.158.38.51:27796#mywebsite.com] [STDERR] ............ Disk full (/tmp/#sql-temptable-53b-4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")

I tried several things to fix that, even reboot the whole server.

The only thing that fixes the problem is this:

/usr/local/lsws/admin/misc/lsup.sh -d -v x.x.x

Sometimes I need to fix permissions as well.

This is very frustrating. I have to be on top of the server all the time.

Is there a way to fix it?

openlitespeed version 1.7.6

thanks
 

Pong

Administrator
#2
2020-11-02 08:11:39.522260 [NOTICE] [162.158.38.51:27796#mywebsite.com] [STDERR] ............ Disk full (/tmp/#sql-temptable-53b-4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")

the error from php, not from Web server.

What's df returns?

When php error comes up ? where they come up? from Browser? or php error log?

Where it shows "empty core files"? most likely PHP crash at that time. but we need more details to all these php errors to see? Does it return 503 error?
 
Top