New to nginx question about php-fpm

I am new to nginx and had a question about php-fpm.

It seems that php-fpm is being restarted at random times. I am not sure
what is causing the restart, but when it does I am getting this in the

[12-Jul-2015 00:52:29] ERROR: An another FPM instance seems to already
listen on /opt/pifpm/fpmsockets/5.5.11.sock
[12-Jul-2015 00:52:29] ERROR: FPM initialization failed

I am assuming that the error is happening because the FPM processes are
being shut down correctly?

I am not sure how to find what is calling the FPM restart. Do you have
suggestions on how to find the initial restart call and how I can make
restart smoothly?

The server is a centos server with cpanel. I have not been able to
the php-fpm.conf or the nginx.conf on my server.

I know you need more info than this, so please point me in the right

Posted at Nginx Forum:

Looks like you are using the cpXstack cpanel plugin.

Please read

Found nginx conf:

server {
listen default_server;
server_name _;
access_log off;
location / {

 proxy_send_timeout   90;
 proxy_read_timeout   90;

 proxy_buffer_size    4k;
 proxy_buffers     16 32k;
 proxy_busy_buffers_size 64k;
 proxy_temp_file_write_size 64k;

 proxy_connect_timeout 30s;

 proxy_redirect   http://CPANELIP;
 proxy_set_header   Host   $host;
 proxy_set_header   X-Real-IP  $remote_addr;
 proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;


Posted at Nginx Forum: