Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Script timed out before returning headers

Discussion in 'General Discussion' started by cesarlwh, Apr 27, 2011.

  1. cesarlwh

    cesarlwh Well-Known Member

    Joined:
    Sep 23, 2008
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    56
    On some servers, all scripts afeter a x minutes stop and show Internal Server error 500 on the erro log show:

    [Wed Apr 27 11:11:06 2011] [error] [client 201.89.14.92] Script timed out before returning headers: limpar-tickets.php

    Why? The tiem out in php.ini is 3600, memory limit is 256M
     
  2. cesarlwh

    cesarlwh Well-Known Member

    Joined:
    Sep 23, 2008
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    56
    After the internal server erro, the process continue running... only on browser stop...
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    What is the TimeOut directive in your Apache configuration? You can see it in WHM > Apache Configuration > Global Configuration area. You might have this set too low and it's causing the error to occur.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cesarlwh

    cesarlwh Well-Known Member

    Joined:
    Sep 23, 2008
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    56
    This 60 seconds, I increased now to 900 (15 minutes) I'll see if it resolves.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice