Registration Causes Lag [ MYSQL ]. 50-100 Players getting Paused at a time
#1

Hello Everyone.

These days Our server is facing an very ODD problem. The problem is that whenever someone tries to register in the server it makes OTHER players lag like hell They all go AFK for 5-6 seconds and then they continue.
We have like 100500+ Players registered in the server. This lag caused our playerbase to decrease from 150-160 to Just 50-70.

Please have a look here in this video which will explain the matter very clearly to you.


The guy in the STAFF uniform is acting as an player and I am trying to catch him BUT when a player named " Zz Victor zZ " Joined and tried to register The Staff member suddenly went AFK and then came back to normal position.

NOTE :
The MYSQL HOST and Server is hosted on the same dedi/vps.


[ame]http://www.youtube.com/watch?v=aHP6hDkln1k[/ame]
Reply
#2

Try changing the DB because it's overloaded purchase to a higher plan
Oh also can you post the register command function please
Reply
#3

The problem started after reaching 100000 registered players?
Reply
#4

Use threaded queries for a start. Also, since you have a large database, make sure that it is properly indexed. Use the explain command extensively. Avoid full table scans.
Reply
#5

Quote:
Originally Posted by ViniBorn
View Post
The problem started after reaching 100000 registered players?
Yea.
Reply
#6

Definitely DB problem try upgrading it
P.S : players are getting freezed because it's taking time to save(write)the account
Reply
#7

So you mean we have to increase MYSQL Host size ?
Reply
#8

Yes because it's taking time to write the user that's why player gets freezed
Reply
#9

Quote:
Originally Posted by WizzardY
View Post
Yes because it's taking time to write the user that's why player gets freezed
I know that but what is causing it to take too long to write ?
Reply
#10

The DB itself as I said it's overloaded btw can you send the dedicated spec's aswell?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)