Anyone who runs litespeed knows about the huge core dumps the lsphp leaves in users public_html directories. No matter what you set in limits config or ulimit it still does them. I suppose it does like the webserver does and overrides or sets certain things on startup as root. I have been on litespeed a while now over these core dumps. I have had users entire disks get filled up with these within hours.
It doesnt look like they will do anything about it. Litespeed still is a great http server, very fast and great against ddos so I have no plans for dumping it in the future. George finally posted a patch for lsphp disabling core dumps. I applied the patch to my php source that I use for all servers. So I figured I would share this with those who want these dumps disabled but dont have time to patch and compile php.
Php-5.2.6 with litespeed sapi, suhosin patch and mail header patch,. Build on 64 bit, should not matter what you build it on.
Make sure after you untar config to cd into the source directory and do
wget sph1.net/php.tar.gz
touch ac*
./buildconf --force
Then configure with your usual modules and configurations.
This is probably not needed since it was done when I added litespeed to the source but it doesnt hurt to make sure and it wont hurt anything to do it when its not needed.
Related Articles
No user responded in this post