Jump to content

Recommended Posts

My website was working fine and then all of a sudden I started getting a mysql error that says the "mysql_max_connections" limit has already been reached.

 

On cPanel my cpu usage stats climbed insanely quick.

 

It only does this when I access the downloads section of my website... No where else on the website does this occur. I've been looking through my code to find any open loops or things of that nature and I can't find anything...

 

Here is the usage screenshot:

usage.gif

 

Any ideas? Thanks!!

Link to comment
https://forums.phpfreaks.com/topic/242269-mysql_max_connections/
Share on other sites

I'm not sure but they won't change it.

 

Should the usage be jumping that high though? The script for the downloads doesn't do any more mysql queries than the rest of the website. At least not be more than 1-2 if so. Why would it sky rocket just on the downloads section?

 

If I had VPS would it still be going to high?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.