Symptoms
LiteSpeed Webserver will log the following error when the PHP memory limit for a user is triggered:
/usr/local/apache/logs/stderr.log :
[UID:1002][17141] Child process with pid: 17186 was killed by signal: 11, core dumped: no
[UID:1002][17141] master: worker is killed by SEGV signal - probably lve PMEM limit or PHP memory_limit hit
Note: The UID:1002
in the above is the UID for the cPanel user hitting the limit. You can find the associated username with the id command:
[root@server ~]# id 1002
uid=1002(cptest) gid=1004(cptest) groups=1004(cptest)
Solution
- Navigate to "WHM / Plugins / LiteSpeed Web Server Plugin / LiteSpeed Configuration / WebAdmin Console"
- Click on the Configuration tab, then PHP.
- Under the PHP Handler Defaults section, click the Edit button to modify the Memory Soft/Hard Limit for PHP.