Re: SQL_ThreadQuery stop server in restart or amx_map if mysql server goes offline
Thanks for testing. I have honestly no idea. Looking at google, it seems to be a misconfiguration or similar.
Like: http://stackoverflow.com/questions/5...n-packet-syste All I can say is to make sure you have properly configured your mysql server infos. Also did you set a timeout feature, and rw_timeout? Maybe it could help to play with it, because by default it's set to 0, so it's supposed to be a default undefined value, but it won't hurt to define one. |
Re: SQL_ThreadQuery stop server in restart or amx_map if mysql server goes offline
Well on my tests as the guy above said, it do reconnects faster. The problem comes on the first connect where bunch of query tasks are executed (map launch).
I've read for the problem as well and tried almost everything I found out about - none of it worked. Good news is after binding only 1 of my IPs (external not local) to the mysql, the older version of this module returns almost no errors with plugins like amxbans where there was constant problem with the query for checking if player is flagged. |
Re: SQL_ThreadQuery stop server in restart or amx_map if mysql server goes offline
On my server is without error
But my server hosted in Brazil led ddos attacks and blocked the database IP USA Result: my server crashed when changing map I had to disable the plugin Also has the problem if you connect 10 servers with different IPs on the same server All HLDS will use only 1 IP If the mysql block single IP all Servers are left without access |
Re: SQL_ThreadQuery stop server in restart or amx_map if mysql server goes offline
There's another problem
When I change the map in a crowded server The server is off a few seconds Waiting send the information to mysql No one knows a way to stop sending information when changing the map? |
Re: SQL_ThreadQuery stop server in restart or amx_map if mysql server goes offline
Guys, can try git4623+?
A fix has been applied to make sql*module more reactive and should flush everything fast at map change. (https://github.com/alliedmodders/amxmodx/pull/207). It should, I hope, help such situation described in above posts. |
Re: SQL_ThreadQuery stop server in restart or amx_map if mysql server goes offline
Quote:
|
Re: SQL_ThreadQuery stop server in restart or amx_map if mysql server goes offline
Quote:
I haven't seen this error even if I manually Killed mysqld.exe process in my computer (MySQL server) while the game server was running and executing queries. While the MySQL server was off-line, the game server said that it's unable to connect. When I started mysqld.exe process (MySQL server), everything went normal. Even if the MySQL server dies 4-5 times in a few minutes, the game server should change map in a few milliseconds, or 1-2 seconds at most. As I tested in my PC. And trust me, I did like 15 queries per second just to stress it. |
Re: SQL_ThreadQuery stop server in restart or amx_map if mysql server goes offline
I tested the amxmodx-1.8.3-dev-git4625 windows and gave the same error
I sent queries "SQL_ThreadQuery Select" with mysql off and stopped the hlds |
Re: SQL_ThreadQuery stop server in restart or amx_map if mysql server goes offline
I analyzed your test
Have you tested with the local IP 127.0.0.1 Makes a test with this IP: Code:
// vim: set ts=4 sw=4 tw=99 noet: |
Re: SQL_ThreadQuery stop server in restart or amx_map if mysql server goes offline
PHP Code:
You can send them to me, temporary, in a private message if you want. |
All times are GMT -4. The time now is 21:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.