FastCGI Error

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!

Comments

  • 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?
  • acrylian Administrator, Developer
    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.
  • 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.
Sign In or Register to comment.