I've been experiencing a large number of php core dumps in my user directories that I'm trying to eliminate as they are eating up a LOT of disk space. I clear them out in the evening, check again in the morning and there will be dozens more. I've read up in the forums here about other ways people are getting rid of them, and none of the suggestions have helped me. This morning, I caught one in my apache error log:
[Wed Apr 23 08:59:25 2008] [notice] mod_fcgid: call /home/user1/public_html/index.php with wrapper /usr/local/cpanel/cgi-sys/php5
[Wed Apr 23 08:59:25 2008] [notice] mod_fcgid: process /home/user2/public_html/index.php(32704) exit(connect error), get signal 11, possible coredump generated
The really puzzling part here is that its user1 that has the core dump file...with the 32704 PID. Why is this happening? I'm baffled here.
Well, there's not quite enough info to go on as to why you are getting Seg Faults. And mod_fcgid is a known cranky bugger. If it's a third-party CMS, you might want to check their support and see if there are issues with running it as CGI, or under your PHP version. Make sure it's the latest version of the CMS too.
Actually we develop this CMS in-house and have had zero problems running it in FastCGI mode on non-cpanel servers (in fact this is how we generally recommend to run it for performance/security). I honestly just don't want the core dumps, if I can prevent their creation that will be sufficient.