Re: [zones-discuss] Java out of memory error in a zone
m5000dom1 # rcapstat -z id zone nproc vm rss cap at avgat pg avgpg 1 zone05 - 5758M 4565M 24G 0K 0K 0K 0K 2 zone06 - 223M 287M 8192M 0K 0K 0K 0K id zone nproc vm rss cap at avgat pg avgpg 1 zone05 - 5758M 4565M 24G 0K 0K 0K 0K 2 zone06 - 223M 287M 8192M 0K 0K 0K 0K We where using zone05. It looks like the customer has a large amount of RAM 18+GB in zone05. The Dynamic Domain has 32GB of physical RAM Could it be swap causing the out of memory problem? IanM Jeff Victor wrote: On Sun, Dec 7, 2008 at 11:15 AM, Ian Matchett <[EMAIL PROTECTED]> wrote: On Solaris 8/07 a customer is running in a zone but java 1.5 is getting out of memory error. The fact that it's running in a zone is irrelevant unless the software is trying to modify the kernel, drivers, etc. This can be demonstrated by running it once in the global zone, or by solving the real problem. Top shows 32GB RAM and 5GB free. Even Java -version get this error. Can we run zonestat on Solaris 10? Yes. It is open-source, unsupported software, but I have tested it on a couple versions of Solaris 10. If there is a problem, please report it here. Please use the latest version, 1.3. If not what commands inside a zone can we used to figure free RAM and swap. and free CPU cycles. What commands should we get the sysadmin run in the global zone to understand the system and zonecfg? rcapstat -z shows the RAM cap currently in effect and how much is being used. -- Ian Matchett Sun Microsystems, Inc. US Phone x22043/1 781 442 2043 Mobile 413 237 6599 Email [EMAIL PROTECTED] Get Skype and call me for free. ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Java out of memory error in a zone
Le 7 déc. 08 à 18:47, Nicolas Dorfsman a écrit : > > Le 7 déc. 08 à 18:26, Ian Matchett a écrit : > >> Thanks >> >> However will prstat -Z tell me much in the zone? > > Good question. > I need to check. Well. A sort of... prstat will give you SWAP and RSS used by YOUR zone. prtconf would give you memory size (I'm not sure if it's modified by capping figures or not) Le 7 déc. 08 à 21:55, Jeff Victor a écrit : >> What commands should we get the sysadmin run in the global zone to >> understand the system and zonecfg? > > rcapstat -z > shows the RAM cap currently in effect and how much is being used. No it doesn't, unless zone is configured with some sort of capping. Nicolas ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Java out of memory error in a zone
On Sun, Dec 7, 2008 at 11:15 AM, Ian Matchett <[EMAIL PROTECTED]> wrote: > On Solaris 8/07 a customer is running in a zone but java 1.5 is getting out > of memory error. The fact that it's running in a zone is irrelevant unless the software is trying to modify the kernel, drivers, etc. This can be demonstrated by running it once in the global zone, or by solving the real problem. > Top shows 32GB RAM and 5GB free. > > Even Java -version get this error. > Can we run zonestat on Solaris 10? Yes. It is open-source, unsupported software, but I have tested it on a couple versions of Solaris 10. If there is a problem, please report it here. Please use the latest version, 1.3. > If not what commands inside a zone can we used to figure free RAM and swap. > and free CPU cycles. > > What commands should we get the sysadmin run in the global zone to > understand the system and zonecfg? rcapstat -z shows the RAM cap currently in effect and how much is being used. -- --JeffV ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Java out of memory error in a zone
Le 7 déc. 08 à 18:26, Ian Matchett a écrit : > Thanks > > However will prstat -Z tell me much in the zone? Good question. I need to check. > Basic problem is the user did not know he was in a zone. > > Told me he had 32GB RAM. > > Sort of true... > > Nicolas Dorfsman wrote: >>Hi Ian, >> >> >> Le 7 déc. 08 à 17:15, Ian Matchett a écrit : >> >>> On Solaris 8/07 a customer is running in a zone but java 1.5 is >>> getting >>> out of memory error. >>> >>> >>> Top shows 32GB RAM and 5GB free. >> >> Did you check the JVM memory parameter ? >> In 80% cases, java out-of-memory error are due to too short JVM, >> which is configured independently than the physical machine. >> >>> Even Java -version get this error. >> >> Huh. Ok. So it should be something else... :) >> >>> >>> Can we run zonestat on Solaris 10? >>> >>> If not what commands inside a zone can we used to figure >>> free RAM and swap. >>> and free CPU cycles. >>> >>> What commands should we get the sysadmin run in the global zone to >>> understand the system and zonecfg? >> >> Check prstat -Z >> >> Nicolas >> >> >> >> >> 01010101 01001110 01001001 01011000 >> Nicolas Dorfsman >> [EMAIL PROTECTED] / [EMAIL PROTECTED] >> Phone: +33 6 7981 4486 >> GoogleTalk/jabber : [EMAIL PROTECTED] >> >> http://www.guses.org - French Speaking (Open)Solaris User Group >> http://www.solaris-fr.org - French OpenSolaris Wiki >> >> >> >> >> > ___ zones-discuss mailing list zones-discuss@opensolaris.org