Need to extend the fcgi timeout time

Discussion in 'Installation/Configuration' started by Skyflash, Sep 16, 2014.

  1. Skyflash

    Skyflash New Member

    I have a site (configured with FastCGI and SuEXEC) which runs a script that requires many time to complete the operation.

    After about 5 minutes work, i obtain a 500 Internal Server Error, causing the operation fails:

    Code:
    Internal Server Error
    
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    
    We think this error is caused by the timeout time, because the script seems working fine (it download and writes down the data we need) but the download is incomplete because the time is too short.

    How can i set in this website a longer (or unlimited...) timeout time? Other ideas?

    Thank you
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can set the fcgi timeouts trough the apache directives field of the website.
     

Share This Page