-
Notifications
You must be signed in to change notification settings - Fork 42
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
Remote Memory Leak in rev 1868be43 #167
Comments
I'll have a look. |
I'm seeing the same thing. Post upgrade to mod_gearman-4.0.4, RAM usage grows until it exhausts. restart clears it up, but growth begins again. rinse and repeat. RHEL7 server. |
it's probably this one: naemon/naemon-core#404 |
Could you try the latest nightly naemon build to see if that helped. I don't see any leaks anymore, regardsless of using mod-gearman or not. |
sorry, I was out of office for some time... |
We have also been affected by this after upgrading mod-gearman to 4.0.3. I think the issue in naemon/naemon-core#404 is unrelated to this, as the leak is not in Naemon itself, but in the gearman-job-server process. |
The current mod-gearman and Naemon still has the memory leak :-( tested and not working: My last working version is still mod-gearman 4.0.2 adc47f0, no matter which Naemon version I use. |
Cannot reproduce this so far. Is it the naemon process which is growing? |
I have gearman-job-server (and nothing else) on a separate server where other servers (mod-gearman-worker, pnp-gearman, mod-gearman-module) are connecting to. As soon as I install mod-gearman-module > 4.0.2 adc47f0 and restart the naemon process, the RAM+Swap usage on the gearman-job-server host is going up up up. |
and which gearmand version is that? |
I tried 1.1.19.1+ds-2+b2 (Debian 11) and 0.33-8 (Consol) |
I ran into the same issue with 1.1.18+ds-3+b3 on Debian 10. |
i've seen machines with high geamand memory usage but if i restart the service, memory usage is stable again (at least as long as i watched) and i still couldn't reproduce this behaviour i a lab. |
Same here. |
indeed, seems like 1868be4 introduced this issue. Let's see how this can be solved... |
i switched back to blocking io. This seems to fix the memory issue in gearmand. I'll run some tests to see if this has any performance impacts. So far it looks promising. |
Hello,
I upgraded mod-gearman-module from 4.0.2 to 4.0.4 some days ago and noticed the SWAP on my gearman-job-server node went up and up until it was OOM. It is around 120MB per hour in my case. I tested the commits between 4.0.2 and 4.0.3:
I also tried disabling SWAP (in the first 2 cm of the image) but then RAM usage goes up.
The RAM / SWAP on the naemon node where mod-gearman-module is installed does not change.
The text was updated successfully, but these errors were encountered: