Closed Pawsative closed 11 months ago
It should only really crash if you are sending way too much data so that the ram is full.
How many websocket connections do you have? Just one or multiple. Also, do you open connections a lot, or only when the server loads up.
Maybe there is also a stack-trace of where exactly the crash happened in your debug.log file.
There's only one connection open as far as I'm aware, the only thing that uses GWSockets for us is Squish Logs (https://github.com/SquishLogs/gmod-integration), which by the looks of it only creates one connection and re-connects if it disconnects.
Unfortunately, the crashes doesn't seem to be generating a debug.log, but it is making the memory dumps
Do you run the server with the -debug
flag?
If not, please add it and see if it writes an entry in the debug.log then. Having the stack trace of the crash would be extremely helpful.
Yeah, both my servers are using the -debug flag, Squish just pushed an update that prevents it from spam attempting to reconnect if it disconnects, I'll try that and let you know if that was the issue.
Hi there,
I'm getting random crashes using GWSockets on Linux x64, not sure if we're using too many connections or sending too much data at once time, I've attached some logs below if it will help. It seems to be random, and I can't find a cause for it to replicate the issue.
2c5e2543-8a0a-43f2-945c8188-236a429b.dmp e9dacc4f-dce6-4446-d0a979bc-dba2c5de.dmp
If you need any more information, please feel free to reach out.