Enable php-fpm to create core dumps
From Brian Nelson Ramblings
Revision as of 19:22, 2 December 2013 by Brian (Talk | contribs) (Created page with "==Enable php-fpm to create core dumps== You can enable core dump with: su - echo '/tmp/core-%e.%p' > /proc/sys/kernel/core_pattern echo 0 > /proc/sys/kernel/core_uses_pid ...")
Enable php-fpm to create core dumps
You can enable core dump with:
su - echo '/tmp/core-%e.%p' > /proc/sys/kernel/core_pattern echo 0 > /proc/sys/kernel/core_uses_pid ulimit -c unlimited
Set the rlimit_core directive in /etc/php-fpm.d/www.conf to unlimited:
rlimit_core = unlimited