zenphoto forums » Usage Support

FastCGI Error

(4 posts)
  1. LiamF1

    Junior
    Joined: Jul '09
    Posts: 6

    Hi guys, hoping you'll be able to help me with this.

    My gallery occasionally lags a little when you click a link to it, and sometimes that lag actually results in an error page coming up (as below):

    FastCGI Error
    The FastCGI Handler was unable to process the request.
    
    Error Details:
    
        * The FastCGI process exceeded configured activity timeout
        * Error Number: 258 (0x80070102).
        * Error Description: The wait operation timed out.
    
    HTTP Error 500 - Server Error.
    Internet Information Services (IIS)

    Something must be hanging? Obviously I'd like to remove the hang and reduce the lag rather than extending the time before the error message occurs.

    Any idea of the cause and how to solve this?

    Many thanks!

    Posted 1 year ago #
  2. LiamF1

    Junior
    Joined: Jul '09
    Posts: 6

    Also, I've been getting this message at the same time:

    Zenphoto encountered an error
    MySQL Error: Zenphoto received the error Too many connections when connecting to the database server.

    I think it must be connected?

    Posted 1 year ago #
  3. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,480

    That basically means your server was not able to do what you asked. Best you post some info about the size of your site (also what ZP version) and your server config.

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  4. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,818

    The error about too many connections for MySQL surely must be a configuration problem with your server. Basically each time a script ends the connection to the database should be severed. Zenphoto does try to insure this happens, but even if it does not the server should be disconnecting.

    The timeout error is probably the script waiting for a connection to become available, so related to the above.

    The database close is done when the root index.php script exits, so if there are errors that might not happen. Check for PHP errors in your logs.

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.