-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finding a reason of server crash on the online change #424
Conversation
Try to run engine with sanitizers enabled (It's |
It might as well be the bug in the engine. =/ |
By the way, maybe I forgot to add This reason is deeper anyway, some issues with memory going as bots started to respawn with random params and ignore configuration. It works for some time but later something happened, it looks like memory control issues. Probably in the engine - will try to recompile, thanks for advice |
I've also added missed timing delay 09c481f Suppose that will fix the problem as is, let me test for some time |
I have returned integer value for timeout offset, another values could be optimized by another PR. Server get crashed few hours before, no relation with players / max online / min bots quantity Running server with |
Closing this PR as important changes included in #426 This branch could require lot of manual resolving on finally merge. |
After enabling dynamical add/remove bots on online change (by min/max settings), found an issue - server crashes sometimes. It mostly happened when more than one players online
With permanent quantity of bots is no problems
As commented in code, there is could be timeout reason.
Please do not merge this PR until testing on YGGverse server will be completed.
But this one commit would be included here.