[Pacemaker] pacemaker processes RSS growth

Vladislav Bogdanov bubble at hoster-ok.com
Fri Sep 14 15:23:51 EDT 2012


14.09.2012 09:54, Vladislav Bogdanov wrote:
> 13.09.2012 15:18, Vladislav Bogdanov wrote:
> 
> ...
> 
>> and now it runs on my testing cluster.
>>
>> Ipc-related memory problems seem to be completely fixed now, processes
>> own memory (RES-SHR in terms of htop) does not grow any longer (after 40
>> minutes). Although I see that both RES and SHR counters sometimes
>> increase synchronously. lrmd does not grow at all. Will look again after
>> few hours.
> 
> 
> So, lrmd is ok. I see only 4kb growth in RES-SHR on one node (current
> DC). Other instances are of the constant size for almost a day.
> 
> I see RES-SHR growth in pacemakerd (>100kb per day). So I expect some
> leakage here. Should I run it under valgrind?

Valgrind doesn't find anything valuable here (1 and 9 hours runs).

==23851== LEAK SUMMARY:
==23851==    definitely lost: 528 bytes in 3 blocks
==23851==    indirectly lost: 17,361 bytes in 36 blocks
==23851==      possibly lost: 234 bytes in 8 blocks
==23851==    still reachable: 17,458 bytes in 163 blocks
==23851==         suppressed: 0 bytes in 0 blocks

> 
> And I see that both RES and SHR synchronously grow in crmd (600-700kb
> per day on member nodes, 6Mb on DC), while RES-SHR is reduced by 24kb on
> DC.
> 
> And I see cib growth in both RES and SHR in range 12-340 kb, and 4kb
> growth in RES-SHR on nodes except DC.
> 
> I can't say for sure what causes growth of shared pages.
> May be it is /dev/shm. Lot of files are there. I'll look if it grows.
> 





More information about the Pacemaker mailing list