简体   繁体   English

如何在CentOS中生成coredump(php-fpm)

[英]How to generate coredump in CentOS (php-fpm)

I have this setting in www.conf (php-fpm): rlimit_core = unlimited 我在www.conf(php-fpm)中有此设置:rlimit_core = unlimited

Also I have this command: 我也有这个命令:

ulimit -c unlimited

and my setting is: 我的设置是:

# cat /proc/sys/kernel/core_pattern
/tmp/core-%e-%s-%u-%g-%p-%t
# cat /proc/sys/kernel/core_uses_pid
1

In error.log I have: 在error.log中,我有:

child 26279 exited on signal 11 (SIGSEGV - core dumped) after 522.834434 seconds from start

It tells me that a core was dumped, but I didn't find coredump in /tmp 它告诉我核心已转储,但在/ tmp中找不到核心转储

How can I generate coredump file and find it? 如何生成coredump文件并找到它?

我在/tmp/systemd-private-bc833f133c6449c6bb1ebe9850277d66-php-fpm.service-zKMT4i/tmp/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM