On 13/05/14 15:59, Jason Cook wrote: >>> On 07/05/14 16:37, Jason Cook wrote: >>>> Yep, the Naemon core process definitely is the one that grows and is 100% >>>> reproducible for me. It grows to the max available memory on the box, then >>>> gets OOM killed. Doesn't happen when mod_gearman isn't enabled. I've seen >>>> it may also be happening with Nagios 4 as well, but haven't tested it >>>> myself. >>>> >>>> Test environment is RHEL 6u4. >>>> >>>> The valgrind log wasn't mine, but we seem to have very similar setups. >>>> >>> Could you try the latest version of mod-gearman? I fixed some potential >>> memory leacks which may occure in case >>> of connection errors. >>> > Looks like it’s still swelling.. after ~19 hours..
I found another memory leak. Seems like the way check result were freed has changed, so mod-gearman has to do that by itself now. Could you try the latest git HEAD of mod-gearman? In my tests, memory usage was constant over the last 12 hours. Sven
