-
Notifications
You must be signed in to change notification settings - Fork 130
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
Possible Memory Leak #249
Comments
I happen to encounter this a lot. We are testing a map vote plugin and I really thought the plugin was causing the issue. Then, when I tried using other commands from other plugins like AdminRequests plugin, it doesn't notify the admin or log the request on discord anymore. Saw this error in squadjslog.log
Attached is a snippet of the SquadGame.log when it happened with verbose logging enabled. Please tell me to attach more logs if needed, since I had collected a lot of this error today on our logs. |
Resolved on #258 |
This is not resolved by that PR. This has nothing to do with that PR |
Duplicate of #200 |
Description of Issue
Bot fails at doing any task over Rcon due to potential Memory leak
Error: (node:3891673) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [Socket]. Use emitter.setMaxListeners() to increase limitError: (Use
node --trace-warnings ...
to show where the warning was created)[LogParser][1] Lines parsed per minute: 807 lines per minute | Matching lines per minute: 186 matching lines per minute | Average matching latency: 1255.1290322580646msOutput after above error:
[RCON][1] Unknown packet type 16777231 in: { size: 256, id: -1946157056, type: 16777231, body: '\x00\x00\x00\x00\x00\x00\x00----- Active Players -----\nID: 71 | SteamID: 76561199086558645 | Name: ( ͜͞ʖ ) | Team ID: 1 | Squad ID: 4 | Is Leader: False | Role: USA_Rifleman_03\nID: 75 | SteamID: 76561199259877501 | Name: 2945183**9 | Team ID: 1 | Squad ID: 4 | I' }
After above Unknown packet type output, no more Rcon log type 1 with player information is shown and below is looped.
[RCON][2] Writing packet with type "2" and body "ListPlayers".
[SquadServer][1] Updated A2S information.
[SquadServer][1] Updating player list...
[RCON][2] Writing packet with type "2" and body "ListPlayers".
[SquadServer][1] Updating player list...
[RCON][2] Writing packet with type "2" and body "ListPlayers".
[SquadServer][1] Updating player list...
[RCON][2] Writing packet with type "2" and body "ListPlayers".
[SquadServer][1] Updating player list...
[RCON][2] Writing packet with type "2" and body "ListPlayers".
[SquadServer][1] Updating player list...
[RCON][2] Writing packet with type "2" and body "ListPlayers".
[SquadServer][1] Updating player list...
[RCON][2] Writing packet with type "2" and body "ListPlayers".
[SquadServer][1] Updating player list...
Errors or Screenshots of Issue
Squad Information
If potentially relevant, please provide regarding the state of the Squad server at the time of error, e.g. the current layer.
System Information
The text was updated successfully, but these errors were encountered: