Jump to content

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.

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.