Are you using AppServer? If you are, uninstall it and install MySQL 5.5. Then on set up, change the concurrent connections to 2000+. That's all I can think of. I've never seen this error before =[
seems like ur mysql connection is really bad.
anyways fang appserv should not be the problem as is only 1 connection.
It have to be somewhere in his mysql code ><
Not directly related to the question but you may wanna look into the sql wrapper made by impulse. It's DELICIOUS.
I forget all the technical details behind it but basically it kicks serious *** and makes methods far simpler to write.
I THINK it worked along the lines of establishing a single connection to sql which then handles all requests and inputs between the server and sql. That way you don't have to worry about opening/closing so many connections or any issues with threading as it's all handled through the same connection.
Not directly related to the question but you may wanna look into the sql wrapper made by immune. It's DELICIOUS.
I forget all the technical details behind it but basically it kicks serious *** and makes methods far simpler to write.
I THINK it worked along the lines of establishing a single connection to sql which then handles all requests and inputs between the server and sql. That way you don't have to worry about opening/closing so many connections or any issues with threading as it's all handled through the same connection.
I would also check the MySQL Settings (i like to use MySQL Administrator) Double check if you use too much threads for MySQL coz that could cause your CPU to process much more Threads than needed and the connections or read/write could be delayed and run outta time - TimeOut
When a character is saved it opens a new connection and then closes it after
Sounds like a terrible way to manage it all. Whoever thought of that... I have nothing to say. A better way would be to have your own persistent connection pool that you cycle through with each query.
Sounds like a terrible way to manage it all. Whoever thought of that... I have nothing to say. A better way would be to have your own persistent connection pool that you cycle through with each query.
I know it is a bad way to manage it at the moment but I am changing everything around I just needed to figure out this problem before I started changing stuff around.
I know it is a bad way to manage it at the moment but I am changing everything around I just needed to figure out this problem before I started changing stuff around.
What I suggested would be the best method to do even though you could probably get away with doing just one connection and having a mysql queue.
Too many connections 08/08/2010 - Metin2 Private Server - 3 Replies Hallo liebe Community,
ich brauche eure Hilfe.
Ich habe es nachdem hier gemacht:
MySQL - Too many connections - Datenbanken - administrator
Aber es ändert sich wieder zurück.
Weiß bitte jemand eine andere Lösung, damit ich die max connections erhöhen kann.
Ich hoffe irgend jemand kann mir helfen....
Server Connections 07/09/2010 - Ragnarok Online - 37 Replies Aufgrund der ständigen Anfragen, ob man die richtigen server optionen hat wie z.B. master version etc, werde ich jetzt hier mal ein topic erstelle.
In diesem topic werden nur die verbindungseinstellungen gespostet die nötig sind, sowie den link zum server selbst.
wenn ihr neue verbindungen hier adden wollt, dann seid euch bitte sicher das diese richtig sind und das sie up to date sind. postet eure daten nur, wenn sie noch nicht hier im topic enthalten sind.
ein beispiel:
bitte...
Too many connections? 04/10/2010 - Metin2 Private Server - 5 Replies HEy ich wollte wissen was ich da machen kann damit das mit den too many connections weg geht mfg danke
Silkroad C10 - more Connections!? 12/17/2008 - Silkroad Online - 3 Replies It seems that joymax putted a security within the new update. because when 1 IP is connected and you try to login another it keeps saying C10 error. (tested with 2 pc's on same network) i did not used any loaders, cracks etc...
Perhaps anyone else have the same prob or can give me a good explanation.