I've been attempting to install the PHP APM plugin for my Web servers, however I've hit a wall and require some assistance.
We are able to install the plugin within issue, update the config without issue, and start the service without issue. However, shortly afterwards the php_agent.log starts showing that it cannot connect to the daemon and continues to fail.
I've checked the daemon and it shows that it is running, however I discovered that the process has actually zombie'd out and is dead. Restarting PHP-FPM removes the zombie and the service works again for a few minutes, but goes back into a zombie state soon after.
I'm able to replicate this problem across all of my web servers. I even spun up a brand new box and deployed it, adding the same configurations as the others, and it too started to zombie shortly after starting.
My configuration is as follows:
- CentOS 7 (kernel 3.10.0-229.11.1.el7.x86_64)
- PHP-FPM (5.5.30-1.el7.remi)
- Nginx (1:1.6.3-6.el7)
- Newrelic Daemon (18.104.22.168-1)
- Newrelic PHP5 (22.214.171.124-1)
- Newrelic PHP5 Common (126.96.36.199-1)
To add insult to injury, it appears that if we leave the zombie for too long, it eventually crashes the Web site across all the servers. Truely, a pain in the rear.
I would appreciate any help or thoughts anyone might have, as this is driving me insane.