php-fpm core dumps / how to enable?

Stephan J.

New Member
Apr 24, 2012

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:
# echo '/var/tmp/coredump-%e.%p' > /proc/sys/kernel/core_pattern

which results in the following:
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


The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!