----- Original Message ----- > I am trying to read a core file from http/php. > I have set the ulimit to unlimited for the apache user in > limits.conf, How, exactly, did you do this? Note that limits.conf is a PAM facility. If your httpd is not started by a program that respects pam_limits.so then it won't pick up these limits. If you're starting under upstart, you can impose limits via: limit core unlimited unlimited I suppose systemd has similar facilities. > I have also added ulimit -c unlimited to the user's > .bashrc. I don't suppose the user's bashrc will be actually picked up: apachectl (if used) is a POSIX shell script. > For some reason, my core files still say they are truncated. I'm not > sure why. I have debug symbols for httpd and freetds (but not php). > > Here is the error: > BFD : Warning : /tmp/ core . 10242 is truncated : expected core file > size >= 576610304 , found : 11689984. BFD : Warning : /tmp/ core . > 10242 is truncated : expected core file size >= 576610304 , found : > 11689984. [ New Thread 10242 ] [ New Thread 10753 ] Core was > generated by `/usr/sbin/httpd'. > Program terminated with signal 11, Segmentation fault. > #0 0x00002aaaac7f8b60 in ?? () > "/tmp/core.10242" is a core file. > Please specify an executable to debug. > > any help is appreciated. If your core_pattern is a pipe, please see this bug: https://bugzilla.redhat.com/show_bug.cgi?id=759213 So long, i -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.galic@xxxxxxxxxxxxxx URL: http://brainsware.org/ GPG: 6880 4155 74BD FD7C B515 2EA5 4B1D 9E08 A097 C9AE --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx