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.

Php Process hangs website.

Discussion in 'General Discussion' started by Nathum, Jul 23, 2015.

  1. Nathum

    Nathum Member

    Joined:
    Aug 12, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I have written some php code that takes time to execute. Whist this script is executing the rest of the website hangs. Is there a way in WHM to allow additional processes?

    Thanks
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you using cloudlinux on your server ? With the cloudlinux you can assign CPU, memory and process limit which you want.
     
  3. Nathum

    Nathum Member

    Joined:
    Aug 12, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Thanks for your reply,

    I am using CENTOS 6.6 x86_64 xenpv – webserver WHM 11.50.0 (build 27)

    Also this happens when WHMCS sends an email. The whole site hangs until the process is complete.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you elaborate on this? Does your server load increase, or do you notice any error messages in the /usr/local/apache/logs/error_log file?

    Thank you.
     
Loading...

Share This Page