MySQL Forums
Forum List  »  Newbie

Re: Site closes when two many connections
Posted by: Rick James
Date: November 15, 2013 05:14PM

Disconnect at the end of each web page.

Set wait_timeout lower -- suggest 30.

Set max_connections higher -- suggest not going higher than 1000.

Increase back_log.

What web server are you using? If Apache, then decrease MaxClients so that there aren't so many threads hanging onto MySQL connections.

Options: ReplyQuote


Subject
Written By
Posted
Re: Site closes when two many connections
November 15, 2013 05:14PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.