How to disable core dumps ?

wanah

Well-Known Member
#1
Hello,

Some of our customers sites get core dumps from php every now and again and we would like to disbale core dumps.

In External App > lsphp5 > Environement I have :

LSAPI_ALLOW_CORE_DUMP=0

But in the error logs I've got :

2014-03-20 11:00:09.484 [STDERR] Child process with pid: 701776 was killed by signal: 11, core dump: 128
2014-03-20 11:00:13.294 [STDERR] Child process with pid: 701838 was killed by signal: 11, core dump: 128
2014-03-20 11:00:19.714 [STDERR] Child process with pid: 701968 was killed by signal: 11, core dump: 128
2014-03-20 11:00:20.633 [STDERR] Child process with pid: 702110 was killed by signal: 11, core dump: 128
2014-03-20 11:00:20.633 [STDERR] Child process with pid: 701781 was killed by signal: 11, core dump: 128
2014-03-20 11:00:21.880 [STDERR] Child process with pid: 701795 was killed by signal: 11, core dump: 128
2014-03-20 11:00:22.319 [STDERR] Child process with pid: 702929 was killed by signal: 11, core dump: 128
2014-03-20 11:00:32.869 [STDERR] Child process with pid: 702822 was killed by signal: 11, core dump: 128
2014-03-20 11:00:33.194 [STDERR] Child process with pid: 705173 was killed by signal: 11, core dump: 128

I'm currently running litespeed 4.2.6 as it has been very stable so far and 4.2.7 didn't add any features that we needed.

Is there a setting I've missed somewhere ?
 

mistwang

LiteSpeed Staff
#2
just remove the ENV
LSAPI_ALLOW_CORE_DUMP=0

completely.
The crash will be logged, but "core dump: 0" indicates there is no core dump file generated. the log message cannot be turned off.
 
Top