Re: [zones-discuss] rcapd to limit RAM usage of a zone

2006-08-29 Thread Jerry Jelinek

Phil Cordier wrote:

Posted this question on the general zones group at got a deafening silence in 
response - anyone here have any possible answers?

http://forum.sun.com/jive/thread.jspa?forumID=299threadID=100707


It is possible that prstat and rcapd are counting shared memory multiple times,
so that it seems like you are using more memory within the zone.  This is
a known bug:

4754856 *prstat* prstat -atJTZ should count shared segments only once

We are working on an enhancement to zones and resource management which
will improve a bunch of things in this area, including the way rcapd
accounts for shared memory.  It will also allow you to solve your underlying
problem by running a single rcapd in the global zone which will cap each
zones memory consumption.  This is described in this thread:

http://www.opensolaris.org/jive/thread.jspa?threadID=10451tstart=0

Let us know if you have any questions about this project.

Thanks,
Jerry
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] rcapd to limit RAM usage of a zone

2006-08-29 Thread Jeff Victor
Funny but ironic:  rcapd never counts its own memory usage.  See the source code 
at http://cvs.opensolaris.org/source/search?q=rcapd_pid .  Once you subtract 
rcapd's 128MB, the *rest* of the zone is using exactly what you specified as the cap.


But I don't see why rcapd should be using 128MB...

Can you supply the output of

zone11# pmap -ax {pid-of-rcapd}

Phil Cordier wrote:

Posted this question on the general zones group at got a deafening silence in
response - anyone here have any possible answers?

http://forum.sun.com/jive/thread.jspa?forumID=299threadID=100707


--
--
Jeff VICTOR  Sun Microsystemsjeff.victor @ sun.com
OS AmbassadorSr. Technical Specialist
Solaris 10 Zones FAQ:http://www.opensolaris.org/os/community/zones/faq
--
___
zones-discuss mailing list
zones-discuss@opensolaris.org