Hi All, We are using linux ha for achieving HA solution for a 2 node system. We have observed memory leaks in the crmd process and seen it grow to beyond 700MB.
I am currently running 2.0.8 with a patch that fixes a few memory leak issues in crmd. I am trying to use valgrind and efence to nail down more memory leaks. To this effect i complied heartbeat with --enable-crm-force-malloc and now the system does not come up, looking at the error log seems that there is an inconsistency in the call and free function, even with this flag set, i see that while reading cib, i use crm_malloc0 to allocate and free using cl_free which fails in GUARD_IS_OK macro. My questions are: 1> Does --enable-crm-force-malloc work ? 2> How can use valgrind effectively, crmd is started by heartbeat so how do i make it work with valgrind? 3> Will using efence cause any problem, i see that code has varied allocation logic implemented. Incase this is not a place for this, should i post this in the dev list? Any help for above is much appreciated. Thanks -Hariharan _______________________________________________ Linux-HA mailing list [EMAIL PROTECTED] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems