[Linux-HA] hb master proc leaking memory on client signon/off?

Alan Robertson alanr at unix.sh
Mon Mar 21 17:07:03 MST 2005


forrest whitcher wrote:
> Alan et al
> 
> I've been kicking the tires some on Heartbeat and have observed that every
> time a new client connects (signon-s) to the heartbeat process the the master
> process ratchets up it's memory use by about 4K of ram.
> 
> This is when I do the following:
> 
> hb = ll_cluster_new("heartbeat");
>  signon(hb, MY_NAME);
>  cl_log_set_facility(facility);
>   init_nodewalk(hb);
>    nextnode(hb));          /* repeat while more nodes */
>   end_nodewalk(hb);
>  signoff(hb);
> delete(hb);
> 
> I'm checking for HA_OK , so I know all the calls have completed, -- is there
> a reason for the daemon to hold the connection resources after exit??.
> 
> I'm running 1.99.2 pulled from CVS about a week ago


No.  This is a bug.  It's something we fixed in the past, but it seems to 
have recurred.  Can you reproduce it using cl_status?



-- 
     Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me claim 
from you at all times your undisguised opinions." - William Wilberforce


More information about the Linux-HA mailing list