-
1. Re: Jboss node getting CPU spikes
bossisout Mar 11, 2009 1:28 PM (in response to bossisout)To update spikes was common so we optimized a work flow.But wat could be the reason for spikes in single server.
From last error message I posted after optimising the fore said server is getting disconnected (or hanging ) and may be cluster is ping it... -
2. Re: Jboss node getting CPU spikes
krishnan366 Mar 11, 2009 10:47 PM (in response to bossisout)Are you using the @Clustered annotation in your ejb bean .
Also you can set you loadbalancing policy as follows. This example shows the RoundRobin load balancing policy@Clustered(loadBalancePolicy=org.jboss.ha.framework.interfaces.RoundRobin.class)
-
3. Re: Jboss node getting CPU spikes
bossisout Mar 12, 2009 4:38 AM (in response to bossisout)I have 2 kinds of beans -Remote and local.My remote beans call the local beans.I have given clustered=true for remote beans and not local beans.Do you think this could be the reason.What is best take here?.My local beans are doing data intensive activities which take 2 to 3 mins and some time 5 mins.The load various a lot.
-
4. Re: Jboss node getting CPU spikes
bossisout Mar 14, 2009 10:16 AM (in response to bossisout)One more doubt .If I make the beans called from remote facade beans also remote and make them cluster will it get load balanced ?
What I mean is if I have remote bean A and B,C as local beans.Right now A is clustered.But if I make B and C remote and clustered will it get load balanced ? -
5. Re: Jboss node getting CPU spikes
brian.stansberry Mar 17, 2009 12:32 PM (in response to bossisout)If B and C are only called by A, and not by a client in an external process, no, making them remote/clustered will have no effect. JBoss detects the case where a call to a bean is coming from inside the same VM where the bean is deployed and optimizes the call to the in-VM bean rather than sending it remote.