Jump to content

Too many connections? Too many queries?


Kryptix

Recommended Posts

I don't know what to title this really, but I own a online game that uses MySQL as it's back on which transfers hundreds of queries every minute. Sometimes the game will just drop for some reason, but the people online will remain online. It's just the login process (which uses the most queries).

 

I'm using a bog-standard MySQL install, and whilst  the CPU isn't overloaded I was wandering if there's anything in MySQL that would restrict me? Is there a certain limit that I have to up or something?

Link to comment
https://forums.phpfreaks.com/topic/179698-too-many-connections-too-many-queries/
Share on other sites

I, too, own an online game and i believe it depends on your database storage usage.

 

I use godaddy and pay a pretty penny a month for a dedicated server, so i'm basically unlimited with no lag.

 

Since your the creator and owner of the domain you use and everything, your connection is usually different, meaning the site could be offline for you, but online with no lag for others.

 

If you have over 500 active players online at once, and your not on a dedicated server, youll probably get a 503 server timeout for the whole day.

 

You need a dedicated server so you can set your own max connections, without it you can only get a certain amount which will in no way work out for a big rpg game.

 

 

I'm on a Quad Core 2.4 dedicated server with 4gB RAM, 1tB HDD, 100mB/s Port and 50,000pps DDoS Protection...

 

It's nothing to do with that, if there's anything it's MySQL settings/configuration... But I don't know enough about it to be certain.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.