Hi, lxc_cgroup_path_get currently cache the cgroup mount point plus the container name at the same time, making every call of the function returning the same value. It mean that actually every call to lxc_cgroup_get with a different container name will in fact use the same container name as used for the primary call.
I join a patch to fix that, still doing some caching, but only caching the cgroup moint point this time. This patch actually work for me, as I am using the liblxc for retrieving statistics about all running containers, using lxc_cgroup_get to retrieve every interesting values. cheers -- François-Xavier Bourlet
0001-lxc_cgroup_path_get-cache-the-right-value.patch
Description: Binary data
------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d
_______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel