Configure httpd.conf with CoreDump to files?

saosangmo

Verified User
Joined
Oct 3, 2012
Messages
113
Location
Hanoi
I use PHP FPM and in httpd.conf, I add value:
CoreDumpDirectory = /tmp/httpdump

When service httpd hangs, I look in the log /var/log/httpd/error_log:
[core:notice] [pid 21856] AH00051: child pid 22045 exit signal Segmentation fault (11), possible coredump in /tmp/httpdump

But when ls /tmp/httpdump, there is no file.

I miss something?
thanks
 
Which permissions do you have on your /tmp folder? Can you please post the content of your /etc/fstab file?
If you restart httpd, is there any error in the httpd error_log?
 
Permission of /tmp folder
[root@csrv01 /]# ls -l
...
drwxrwxrwt. 4 root root 888832 Mar 31 20:33 tmp
....

and the content of fstab:
[root@csrv01 /]# cat /etc/fstab
/dev/mapper/VolGroup-lv_root / ext4 defaults,usrquota,grpquota 1 1
UUID=0b96bb00-41bb-41d8-a05f-cb0030166412 /boot ext4 defaults 1 2
/dev/mapper/VolGroup-lv_home /home ext4 defaults,usrquota,grpquota 1 2
/dev/mapper/VolGroup-lv_swap swap swap defaults 0 0
#tmpfs /dev/shm tmpfs noexec,nosuid 0 0
none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/var/tmpMnt /tmp ext3 loop,rw,noexec,nosuid,nodev 0 0
 
Last edited:
Back
Top