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.

Keep alive problem ?

Discussion in 'Workarounds and Optimization' started by ASTRAPI, Jul 17, 2014.

  1. ASTRAPI

    ASTRAPI Well-Known Member

    Joined:
    Jul 8, 2008
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    I can see this:

    Code:
    18259 yea 20 0 344m 18m 9460 S 1.0 0.0 0:00.03 php
    Running for 344m ?

    Is this a keep alive problem from Apache or from php persistence connections or both?

    How can i avoid so long running?

    I am using keep alive with a value of 5 and Max Keep-Alive Requests Unlimited also persistence on php ....

    Thanks
     
  2. 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 :)

    Persistent connections with PHP are documented here:

    PHP: Persistent Database Connections - Manual

    You could install a third-party application such as CSF/LFD that will alert you when processes run longer than a set time period.

    Thank you.
     
  3. ASTRAPI

    ASTRAPI Well-Known Member

    Joined:
    Jul 8, 2008
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    I have already csf .....

    How can i configure it?
     
  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
Loading...

Share This Page