How to get core dump file
Today again I want to analyze a core file of a crash in PHP5.1 as NSAPI module. The problem is that I do not get one.
The output of coreadm:
# coreadm
global core file pattern: /var/core/core.%f.%p.%n.%u.%g.%t
init core file pattern: /var/core/core.%f.%p.%n.%u.%g.%t
global core dumps: enabled
per-process core dumps: enabled
global setid core dumps: disabled
per-process setid core dumps: disabled
global core dump logging: enabled
...seems OK
even ulimit -a:
core file size (blocks)unlimited
data seg size (kbytes)unlimited
file size (blocks) unlimited
open files1024
pipe size (512 bytes)10
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes 1029
virtual memory (kbytes)unlimited
Nevertheless I get the following message in syslog:
Apr 13 19:12:54 pans1 genunix: [ID 603404 kern.notice] NOTICE: core_log: webservd[23547] core rlimit is zero, core not dumped: /var/core/core.webservd.23547.pans1.31982.65534.1144948374
Because the server uses SSL, I added SSL_DUMP=1 to the environment, phpinfo() shows this in the environment dump, so this must also be ok.
What sets the core file size limit to zero? Where can I reenable core files for the webserver (6.1 SP5). Is there a flag in magnus.conf?

