The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED PHP-FPM for cpsrvd Fails

Discussion in 'General Discussion' started by dstana, Dec 14, 2016.

  1. dstana

    dstana Member

    Joined:
    Jul 6, 2016
    Messages:
    9
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Phoenix, AZ
    cPanel Access Level:
    Root Administrator
    Upon checking the status of services on my server I noticed cpanel_php_fpm is down. Upon trying to restart the service I get the following error:

    "ERROR: unable to allocate 1168 bytes in shared memory: Cannot allocate memory: Cannot allocate memory (12)"

    I've got 64gb of memory available on the server, a small fraction is used at any given time. I set the cPanel Process memory to 2048mb in the Tweak Setting section of the server and service still fails to start with the same error code.

    Is there somewhere else I should be looking to allocate more resources so this process can run?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @dstana,

    Please run the following command and let us know of any error messages in the output:

    Code:
    /scripts/restartsrv_cpanel_php_fpm  --start & tail -f /var/log/messages
    Also, could you verify which version of cPanel is installed on this system?

    Thank you.
     
Loading...

Share This Page