PDA

View Full Version : Databse Error when there's too many connections


Firyou
07-21-2014, 07:30 PM
Hey guys I have a weird problem. Whenever my forum reaches 340ish users online at one given time, it starts throwing a database error. Anything below that and it acts fine, I can even have 300 people on and no problems. But whenver it reaches that peak of 340 or more it starts doing it. I'm not sure why it does that, my current VPS has 4gb ram and AMD Opteron(tm) Processor 6376 quad core CPU. I'm running vb 4.2.0 pl4

RichieBoy67
07-21-2014, 07:31 PM
You can increase the Max_connections in your my.cnf if you have root access or tell your host to increase it.

Firyou
07-21-2014, 08:10 PM
You can increase the Max_connections in your my.cnf if you have root access or tell your host to increase it.

Thanks for the quick response! I'll give that a try :)

Lynne
07-21-2014, 08:16 PM
What is the exact database error that you are getting?

RichieBoy67
07-21-2014, 08:48 PM
What is the exact database error that you are getting?

I was assuming it was a max connections error because of the title but I could be wrong.

--------------- Added 1405979374 at 1405979374 ---------------

Thanks for the quick response! I'll give that a try :)

No problem. :)

Firyou
08-19-2014, 03:48 AM
Just wanted to give an update on this. It worked great! I increase the max connections in the .cnf file and I had about 500+ connections at one time and the errors went away!