I have recently enabled core dumps in PHP to examine why it was crashing on certain programs, have successfully gotten a few dumps to examine, and have then disabled core dumps (or so I thought). I was using the guide at http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:howto:bug_report (adding and removing the env variable from the external application).
I have restarted litespeed since and verified that the external application configuration does NOT list LSAPI_ALLOW_CORE_DUMP in it, yet core dumps are still being generated in the lsws bin directory.
How can I disable these dumps from being generated? If you guys need any more information, ask and I'll try to get it.
Note: Do NOT reply with "please examine the core dump with GDB and report the bug to blah blah blah", that is not what I am asking. I am asking on how to disable these dumps from being generated in the first place.
EDIT: After reexamining the dumps, it seems that they were turned on for both PHP and the httpd itself. While I turned them off for PHP, the httpd dumps were still being generated. Disabling those too solved the issue, so this thread can be closed or whatnot.
I have restarted litespeed since and verified that the external application configuration does NOT list LSAPI_ALLOW_CORE_DUMP in it, yet core dumps are still being generated in the lsws bin directory.
How can I disable these dumps from being generated? If you guys need any more information, ask and I'll try to get it.
Note: Do NOT reply with "please examine the core dump with GDB and report the bug to blah blah blah", that is not what I am asking. I am asking on how to disable these dumps from being generated in the first place.
EDIT: After reexamining the dumps, it seems that they were turned on for both PHP and the httpd itself. While I turned them off for PHP, the httpd dumps were still being generated. Disabling those too solved the issue, so this thread can be closed or whatnot.
Last edited: