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.

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:
    61
    Likes Received:
    0
    Trophy Points:
    6
    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:
    61
    Likes Received:
    0
    Trophy Points:
    6
    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,623
    Likes Received:
    21
    Trophy Points:
    38
    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.
     
  4. cesarlwh

    cesarlwh Well-Known Member

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

Share This Page