[JBoss Messaging] - Re: JBoss slowing down
by pratimkm
Clebert,
I tried with the jmap -histo option which gives me the below results while the production server is running on a normal day. It doesn't look like anything consuming a huge memory compared to the allocated 2GB memory. But our server has become slow already. It takes almost 10 minutes to shut down,however starting the server again is normal. We have found out that after few days if we bring down one of the jboss in cluster and try to start again it cannot join the cluster. or the running one doesn't recognize the one being started.
Size Count Class description
-------------------------------------------------------
16301352 159950 char[]
14233496 15189 int[]
11675784 92177 java.lang.Object[]
11550160 18668 byte[]
11352408 90303 * ConstMethodKlass
6506832 90303 * MethodKlass
5362616 128417 * SymbolKlass
4816200 8454 * ConstantPoolKlass
4815816 200659 java.lang.String
3883456 121358 java.util.TreeMap$Entry
3808368 49192 short[]
3568064 8454 * InstanceKlassKlass
2897120 7281 * ConstantPoolCacheKlass
1658216 17595 java.util.HashMap$Entry[]
1488640 18608 java.lang.reflect.Method
1215312 50638 java.util.HashMap$Entry
1094040 27351 java.util.TreeMap
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232321#4232321
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232321
16 years, 11 months
[JBoss Portal] - Cache-Scope PUBLIC doesnt work
by ssunkara
In my portlet.xml I specified <cache-scope>PUBLIC</cache-scope>
And I expect that the mark up is cached for all the users(per the portlet 2.0 spec).
However it doesnt seem to be working that way. It just behaves as if cache-scope is set to PRIVATE.
Here is the snippet from my portlet.xml
<portlet>
| <description>Content Portlet</description>
| <portlet-name>ContentPortlet</portlet-name>
| <portlet-class>com.public.portlet.ContentPortlet</portlet-class>
| <supports>
| <mime-type>text/html</mime-type>
| <portlet-mode>view</portlet-mode>
| </supports>
| <portlet-info>
| <title>Content Portlet</title>
| </portlet-info>
| <cache-scope>PUBLIC</cache-scope>
| <expiration-cache>90</expiration-cache>
| </portlet>
Any thoughts/suggestions?
Thanks.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232318#4232318
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232318
16 years, 11 months