php-fpm core dumps / how to enable?

Stephan J.

New Member
Apr 24, 2012
17
1
1
Hello,

One of our customers with an OpenVZ-Container wishes to enable Core Dumps for php-fpm.

They write that they need to perform the following command:
Code:
# echo '/var/tmp/coredump-%e.%p' > /proc/sys/kernel/core_pattern

which results in the following:
Code:
bash: /proc/sys/kernel/core_pattern: Permission denied

I'm not sure, where to enable this.

The hardware-node is running:
pve-manager/3.3-1/a06c9f73 (running kernel: 2.6.32-32-pve)

Is there documentation regarding the change of this setting?
Do I have to enable this on the hardware-node and how? Is a reboot (of the container?) necessary?
Will this have consequences on other containers running on the same node?

Any pointers are greatly appreciated.

Kind regards -Stephan
 
  • Like
Reactions: zorrobiwan