-
Notifications
You must be signed in to change notification settings - Fork 109
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
Memory leak in CCServer? #7
Comments
I haven't heard about that before. I know a few ppl using it for quite a long time without restart (weeks). But of course could be. Which version of XmrigCCServer are you using and how many miners are connected to it? On which resource you think there is a auto flush needed? |
Around 100 miners connected to a CCserver, always left running. It seems the process is killed due to memory out after a few days. (XmrigCCServer v1.2.0) |
Sounds like a leak, yes. |
Ok, found it. I couldn't wait until tomorrow. The "big" one was a stupid strdup 🤦♂️ There is a smal one left, connected to "basic auth", which is only used when dashboard is accessing the server, which is most likely not that frequent like miners hammer it. I'll hoefully find that one soon. |
Thank you. I was trying to figure out what was going on for so long. I just resorted to SSHing into my VPS and restarting it every time it died. |
Sorry about that and thx for finding this out! Will be in the next release. For those wo compile on their own, just pull latest master and make. @ruptse if your donation level is > 0 -> keep it 😁 i appreciate and it keeps me loving this project. |
Great ... thanks for promptly fixing! Will try it out. |
CCserver process getting killed after running for some time due to "Out of memory". Possible memory leak or auto flush needed with CCserver? (Ubuntu 16.04 with 1GB RAM)
The text was updated successfully, but these errors were encountered: