Hi Aaron,
  First of all, thanks for your time and response.

I am not sure the frequency at which this happens. People complained about
updates not getting reflected on some nodes, and that is when i debugged and
found that the Remote Cache is not sending updates to some clients.

After bouncing the clients (48hrs back), things are still fine. Will monitor
and see how it goes.

I will also try out the temp build.

The status JCSAdmin page on the clients shows as Active. I will make sure to
check it when the issue arises next time.

An admin page on server showing the registered clients will be a really good
information.

Thanks,
Sachin


Aaron Smuts wrote:
> 
> 
> I'm not sure what the problem is, but I recommend using the latest temp
> build.  You can inject an event logger into both the server and the
> client.  You could monitor them directly if you have some way to monitor
> your custom even logs.  There are new major API addition.  Also, there are
> a bunch of minor improvements in the latest version.  Many logging
> improvements as well.   . . . Again, I'm not sure why this is happening.  
> 
> How often dos this happen?  How long after restart does it happen?
> 
> We might need to build in a way for you get get the list of clients from
> the server. Some simple server admin page might help.  Hmmn.  You might
> want to check the status of the client by looking at the stats on the
> JCSAdmin.jsp for a region.  The listener should indicate its health.
> 
> Aaron
> 
> 
> 
> ----- Original Message ----
> From: sachamul <[email protected]>
> To: [email protected]
> Sent: Wednesday, May 20, 2009 9:46:42 AM
> Subject: Re: Remote Cache Server unregistering Client
> 
> 
> Hi Aaron,
> I am using 1.3.
> 
> There were no errors in the log.
> 
> Yesterday we bounced three clients because it seemed like it was not
> registered, then later we saw that another client got disconnected. We
> bounced that also. From past 24 hrs things look ok.
> 
> I monitor the connection between Remote Server and Client regularly (on
> the
> Remote Server) using netstat.  Some times the Remote Server disconnects to
> a
> client and then reconnects, but sometimes it never attempts to connect
> again.
> 
> The JCS documentation says “The remote cache server broadcasts updates to
> listeners other than the originating source. If the remote cache fails to
> propagate an update to a client, it will retry for a configurable number
> of
> tries before de-registering the client.”
> 
> Our applications receives 800 req/sec, 24/7 and there are a lots of hits
> on
> the client and the Remote Cache. Is there a chance that the Remote Server
> tries to deliver an update to the client and the client does not respond,
> due to which the Remote Server de-registers the client and never sends any
> updates to it again.
> 
> Thanks,
> Sachin
> 
> 
> Aaron Smuts wrote:
>> 
>> 
>> What version of JCS are you using?  How often does this happen?  Are
>> there
>> any errors in the logs?
>> 
>> 
>> 
>> ----- Original Message ----
>> From: sachamul <[email protected]>
>> To: [email protected]
>> Sent: Wednesday, May 20, 2009 8:33:40 AM
>> Subject: Remote Cache Server unregistering Client
>> 
>> 
>> Hi,
>> We have 8 Webservers which talk to a single Remote Cache Server.
>> 
>> After some time, the Remote Server stops sending updates to some of the
>> registered clients.
>> This is a production server issue and the only way for me to re-register
>> the
>> client is to bounce that client, which is not a good solution. Is there
>> any
>> configuration attributes that might help?
>> 
>> Please can you tell me why this is happenning.
>> Following is client Config:
>> 
>> jcs.auxiliary.RC.attributes.RemoteHost=prdjcs01
>> jcs.auxiliary.RC.attributes.RemotePort=1101
>> jcs.region.rCache=RC
>> jcs.region.rCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
>> jcs.region.rCache.cacheattributes.MaxObjects=100000
>> jcs.region.rCache.cacheattributes.UseMemoryShrinker=true
>> jcs.region.rCache.cacheattributes.ShrinkerIntervalSeconds=600
>> jcs.region.rCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
>> jcs.region.rCache.elementattributes.MaxLifeSeconds=86400
>> jcs.region.rCache.elementattributes.IsEternal=false
>> jcs.region.rCache.elementattributes.IsSpool=true
>> jcs.region.rCache.elementattributes.IsRemote=true
>> jcs.region.rCache.elementattributes.IsLateral=true
>> 
>> Following is the Remote Server Config:
>> 
>> registry.host=localhost
>> registry.port=1101
>> remote.cache.service.port=1101
>> remote.cluster.LocalClusterConsistency=true
>> remote.cluster.AllowClusterGet=true
>> 
>> jcs.default=
>> jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
>> jcs.default.cacheattributes.MaxObjects=450000
>> jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
>> jcs.default.cacheattributes.UseMemoryShrinker=false
>> jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=100
>> jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
>> jcs.default.elementattributes.IsEternal=false
>> jcs.default.elementattributes.MaxLifeSeconds=2000000
>> jcs.default.elementattributes.IsSpool=true
>> jcs.default.elementattributes.IsRemote=true
>> jcs.default.elementattributes.IsLateral=true
>> 
>> 
>> This is quite urgent and any help will be really helpful.
>> 
>> Thanks,
>> Sachin
>> -- 
>> View this message in context:
>> http://www.nabble.com/Remote-Cache-Server-unregistering-Client-tp23634538p23634538.html
>> Sent from the JCS - Users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Remote-Cache-Server-unregistering-Client-tp23634538p23635781.html
> Sent from the JCS - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Remote-Cache-Server-unregistering-Client-tp23634538p23649221.html
Sent from the JCS - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to