-
Notifications
You must be signed in to change notification settings - Fork 9
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
C++ exception causing GWSockets to fail after server uptime of ~9 days #41
Comments
Do you know if it might be a problem of it running out of memory? Could you maybe check the memory shortly before it crashes? |
The server doesn't crash, it seems that only GWSockets stops working. It's also hard to get much info from it since it takes over a week to happen. As far as memory goes, it stays around ~2GB and slowly creeps up. Though, I don't think memory wouldn't be an issue unless you have a local arena because the server is running x64. I forgot to mention I'm using Linux also. |
I think I've also encountered this with another module of mine if the memory hits ~2.1GB, at which it starts not being able to allocate memory anymore. I don't believe it is due to a memory leak but just that it is not allowed to allocate RAM past that point, I will have to look into it. |
It's just very strange to me. Now that I think about it, I also use the reqwest module and both stop working. The server continues fine until I've manually restarted it, with RAM usage continuing to go up well past 2GB if I leave it. I also have your MySQLOO module installed and it continues to work just fine. |
After about 9 days of uptime using GWSockets, my x86-64 server can no longer create websockets. So far, this has happened twice and does not fix until after a restart.
Only error reported is: [ERROR] C++ exception
The text was updated successfully, but these errors were encountered: