All players randomly losing connection.
#1

Yesterday I set up a testing server for my community to test something I've been working on and provide feedback on the feature, but whenever people are on the server it regularly happens that everyone loses connection to the server simultaneous. I've had a similiar encounter once that was because of an outdated plugin, so I decided to update all plugins and recompile all scripts, but the issue keeps happening. Crashdetect does not report anything as the server itself doesn't crash, the only suspicious thing I could find is this, although MySQL seems to be working fine.
Код:
[log-core] fatal signal '15' (SIGTERM) catched   

Error in my_thread_global_end(): 3 threads didn't exit

Started server on port: 7777, with maxplayers: 20 lanmode is OFF.
I barely have any code on the server considering it's just testing, so this is what I have.

blank.pwn (gamemode)
procedural.pwn (filterscript)
server_log.txt

All the plugins are updated to the latest versions. Any information that could be needed to solve this issue can be provided, just ask for it. I really want to get this fixed. :/

By the way, the server is hosted on a VPS with Ubuntu.

EDIT: I tried hosting a default Grand Larceny gamemode and players were still losing connection, it seemed like it was even happening more often, either way it must be something with my VPS, any ideas?

EDIT 2: Here is a fix for this issue if you are using Ubuntu.
Reply
#2

What does "PrintAmxBacktrace();" in the filterscript procedural.amx do? It seems that the crash is because of that, as crashdetect give warnings about that part.
Reply
#3

Quote:
Originally Posted by BlackBank3
Посмотреть сообщение
What does "PrintAmxBacktrace();" in the filterscript procedural.amx do? It seems that the crash is because of that, as crashdetect give warnings about that part.
It's a function from crashdetect itself. I added it in the script when adding crashdetect, but forgot to remove it again as it's not required, although players losing connection happened before adding that, so yeah.
Reply
#4

Quote:
Originally Posted by corne
Посмотреть сообщение
It's a function from crashdetect itself. I added it in the script when adding crashdetect, but forgot to remove it again as it's not required, although players losing connection happened before adding that, so yeah.
Hmm, okay. Well the error you have posted above, it looks like a multi-threaded plugins is not doing it's job well. :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)