Return-Path: Delivered-To: apmail-jakarta-jcs-users-archive@www.apache.org Received: (qmail 69042 invoked from network); 20 May 2009 15:42:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 May 2009 15:42:47 -0000 Received: (qmail 30657 invoked by uid 500); 20 May 2009 15:43:00 -0000 Delivered-To: apmail-jakarta-jcs-users-archive@jakarta.apache.org Received: (qmail 30635 invoked by uid 500); 20 May 2009 15:43:00 -0000 Mailing-List: contact jcs-users-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JCS Users List" Delivered-To: mailing list jcs-users@jakarta.apache.org Received: (qmail 30625 invoked by uid 99); 20 May 2009 15:43:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 15:43:00 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [209.191.125.83] (HELO web38707.mail.mud.yahoo.com) (209.191.125.83) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 20 May 2009 15:42:48 +0000 Received: (qmail 60920 invoked by uid 60001); 20 May 2009 15:42:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1242834147; bh=b7NRaWwOltYoP1ppcF9up1mozm1pae5GHrVU14C0TT8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IIzzRWat1Ud3dI7qSSFyHhbSaKh71Skj/OLRBhSdzjUNds8KzealAY4O8HwA1jfgTGVboPhLwx+5KBuacngdlnCTShR87M4RiJJOXj2SU2eefFI05s7c7+25USIAVFEAFUMAkar7Qy0wJZp2ItcLp2ImGun4Fvkg4046BCv2X3s= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Gj42TCWRZunD5BFsxiMMr1OcSZZhbXPimjxd9R3m6XtaV8MeOzWvjuvQfxlR1rhTPA4IFwe9vck8wehjm+LABOV1ITq1rhSPHQwPJydR7eE4afqCxgKIGSA3aKTA5dmF78brl71pFXAfoKQAPC9B8bNrlZtPGFdq3v09FngexdY=; Message-ID: <345996.60817.qm@web38707.mail.mud.yahoo.com> X-YMail-OSG: YGykMH4VM1l9BaQK3AzSZksg05ORzlVt_o7lqLd3UYpwmLb3ELYOUwlQKOz4aeTxX46C2ZEzHbrWtt4AffPjVGtoERVTsoaTqNwZ7Do9FJZ255m9ZiRPpm2yLw22_hkL7VkfejJ2aVdvjLR55.7ITtOaXvvlou0rV_XQOsofntddAsw4mPdUs727MwLOIPir3oRVjMbEOXWrRfXWHUVmjImlVysM5A-- Received: from [208.120.39.220] by web38707.mail.mud.yahoo.com via HTTP; Wed, 20 May 2009 08:42:26 PDT X-Mailer: YahooMailRC/1277.43 YahooMailWebService/0.7.289.10 References: <23634538.post@talk.nabble.com> <376971.72020.qm@web38702.mail.mud.yahoo.com> <23635781.post@talk.nabble.com> Date: Wed, 20 May 2009 08:42:26 -0700 (PDT) From: Aaron Smuts Subject: Re: Remote Cache Server unregistering Client To: JCS Users List In-Reply-To: <23635781.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I'm not sure what the problem is, but I recommend using the latest temp bui= ld. You can inject an event logger into both the server and the client. Y= ou 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 m= inor improvements in the latest version. Many logging improvements as well= . . . . Again, I'm not sure why this is happening. =0A=0AHow often dos t= his happen? How long after restart does it happen?=0A=0AWe might need to b= uild in a way for you get get the list of clients from the server. Some sim= ple server admin page might help. Hmmn. You might want to check the statu= s of the client by looking at the stats on the JCSAdmin.jsp for a region. = The listener should indicate its health.=0A=0AAaron=0A=0A=0A=0A----- Origin= al Message ----=0AFrom: sachamul =0ATo: jcs-users@jaka= rta.apache.org=0ASent: Wednesday, May 20, 2009 9:46:42 AM=0ASubject: Re: Re= mote Cache Server unregistering Client=0A=0A=0AHi Aaron,=0AI am using 1.3.= =0A=0AThere were no errors in the log.=0A=0AYesterday we bounced three clie= nts because it seemed like it was not=0Aregistered, then later we saw that = another client got disconnected. We=0Abounced that also. From past 24 hrs t= hings look ok.=0A=0AI monitor the connection between Remote Server and Clie= nt regularly (on the=0ARemote Server) using netstat. Some times the Remote= Server disconnects to a=0Aclient and then reconnects, but sometimes it nev= er attempts to connect=0Aagain.=0A=0AThe JCS documentation says =E2=80=9CTh= e remote cache server broadcasts updates to=0Alisteners other than the orig= inating source. If the remote cache fails to=0Apropagate an update to a cli= ent, it will retry for a configurable number of=0Atries before de-registeri= ng the client.=E2=80=9D=0A=0AOur applications receives 800 req/sec, 24/7 an= d there are a lots of hits on=0Athe client and the Remote Cache. Is there a= chance that the Remote Server=0Atries to deliver an update to the client a= nd the client does not respond,=0Adue to which the Remote Server de-registe= rs the client and never sends any=0Aupdates to it again.=0A=0AThanks,=0ASac= hin=0A=0A=0AAaron Smuts wrote:=0A> =0A> =0A> What version of JCS are you us= ing? How often does this happen? Are there=0A> any errors in the logs?=0A= > =0A> =0A> =0A> ----- Original Message ----=0A> From: sachamul =0A> To: jcs-users@jakarta.apache.org=0A> Sent: Wednesday, May 20= , 2009 8:33:40 AM=0A> Subject: Remote Cache Server unregistering Client=0A>= =0A> =0A> Hi,=0A> We have 8 Webservers which talk to a single Remote Cache= Server.=0A> =0A> After some time, the Remote Server stops sending updates = to some of the=0A> registered clients.=0A> This is a production server issu= e and the only way for me to re-register=0A> the=0A> client is to bounce th= at client, which is not a good solution. Is there=0A> any=0A> configuration= attributes that might help?=0A> =0A> Please can you tell me why this is ha= ppenning.=0A> Following is client Config:=0A> =0A> jcs.auxiliary.RC.attribu= tes.RemoteHost=3Dprdjcs01=0A> jcs.auxiliary.RC.attributes.RemotePort=3D1101= =0A> jcs.region.rCache=3DRC=0A> jcs.region.rCache.cacheattributes=3Dorg.apa= che.jcs.engine.CompositeCacheAttributes=0A> jcs.region.rCache.cacheattribut= es.MaxObjects=3D100000=0A> jcs.region.rCache.cacheattributes.UseMemoryShrin= ker=3Dtrue=0A> jcs.region.rCache.cacheattributes.ShrinkerIntervalSeconds=3D= 600=0A> jcs.region.rCache.cacheattributes.MemoryCacheName=3Dorg.apache.jcs.= engine.memory.lru.LRUMemoryCache=0A> jcs.region.rCache.elementattributes.Ma= xLifeSeconds=3D86400=0A> jcs.region.rCache.elementattributes.IsEternal=3Dfa= lse=0A> jcs.region.rCache.elementattributes.IsSpool=3Dtrue=0A> jcs.region.r= Cache.elementattributes.IsRemote=3Dtrue=0A> jcs.region.rCache.elementattrib= utes.IsLateral=3Dtrue=0A> =0A> Following is the Remote Server Config:=0A> = =0A> registry.host=3Dlocalhost=0A> registry.port=3D1101=0A> remote.cache.se= rvice.port=3D1101=0A> remote.cluster.LocalClusterConsistency=3Dtrue=0A> rem= ote.cluster.AllowClusterGet=3Dtrue=0A> =0A> jcs.default=3D=0A> jcs.default.= cacheattributes=3Dorg.apache.jcs.engine.CompositeCacheAttributes=0A> jcs.de= fault.cacheattributes.MaxObjects=3D450000=0A> jcs.default.cacheattributes.M= emoryCacheName=3Dorg.apache.jcs.engine.memory.lru.LRUMemoryCache=0A> jcs.de= fault.cacheattributes.UseMemoryShrinker=3Dfalse=0A> jcs.default.cacheattrib= utes.MaxMemoryIdleTimeSeconds=3D100=0A> jcs.default.elementattributes=3Dorg= .apache.jcs.engine.ElementAttributes=0A> jcs.default.elementattributes.IsEt= ernal=3Dfalse=0A> jcs.default.elementattributes.MaxLifeSeconds=3D2000000=0A= > jcs.default.elementattributes.IsSpool=3Dtrue=0A> jcs.default.elementattri= butes.IsRemote=3Dtrue=0A> jcs.default.elementattributes.IsLateral=3Dtrue=0A= > =0A> =0A> This is quite urgent and any help will be really helpful.=0A> = =0A> Thanks,=0A> Sachin=0A> -- =0A> View this message in context:=0A> http:= //www.nabble.com/Remote-Cache-Server-unregistering-Client-tp23634538p236345= 38.html=0A> Sent from the JCS - Users mailing list archive at Nabble.com.= =0A> =0A> =0A> ------------------------------------------------------------= ---------=0A> To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.= org=0A> For additional commands, e-mail: jcs-users-help@jakarta.apache.org= =0A> =0A> -----------------------------------------------------------------= ----=0A> To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org= =0A> For additional commands, e-mail: jcs-users-help@jakarta.apache.org=0A>= =0A> =0A> =0A=0A-- =0AView this message in context: http://www.nabble.com/= Remote-Cache-Server-unregistering-Client-tp23634538p23635781.html=0ASent fr= om the JCS - Users mailing list archive at Nabble.com.=0A=0A=0A------------= ---------------------------------------------------------=0ATo unsubscribe,= e-mail: jcs-users-unsubscribe@jakarta.apache.org=0AFor additional commands= , e-mail: jcs-users-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org For additional commands, e-mail: jcs-users-help@jakarta.apache.org