Return-Path: Delivered-To: apmail-jakarta-jcs-users-archive@www.apache.org Received: (qmail 19030 invoked from network); 14 Jun 2006 18:32:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jun 2006 18:32:53 -0000 Received: (qmail 87211 invoked by uid 500); 14 Jun 2006 18:32:53 -0000 Delivered-To: apmail-jakarta-jcs-users-archive@jakarta.apache.org Received: (qmail 87196 invoked by uid 500); 14 Jun 2006 18:32:53 -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 87185 invoked by uid 99); 14 Jun 2006 18:32:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2006 11:32:52 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=NO_REAL_NAME,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of Paul.Lewandowski@kohls.com designates 208.7.93.4 as permitted sender) Received: from [208.7.93.4] (HELO l09000g0.kohls.com) (208.7.93.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2006 11:32:51 -0700 Received: from Kscan04.kohls.com (msweep4.kohls.com [208.7.93.183]) by l09000g0.kohls.com (8.12.11.20060308/8.12.11) with ESMTP id k5EIWVBZ024581 for ; Wed, 14 Jun 2006 13:32:31 -0500 X-ASG-Debug-ID: 1150309950-10952-934-0 X-Barracuda-URL: http://10.1.37.12:8000/cgi-bin/mark.cgi Received: from kohlnt65.cp.ad.kohls.com (unknown [10.1.24.120]) by Kscan04.kohls.com (Spam Firewall) with ESMTP id 414FC8118C for ; Wed, 14 Jun 2006 13:32:30 -0500 (CDT) Received: from LNCORP03.cp.ad.kohls.com ([10.1.11.248]) by kohlnt65.cp.ad.kohls.com (Lotus Domino Release 6.5.4) with ESMTP id 2006061413322974-14843 ; Wed, 14 Jun 2006 13:32:29 -0500 In-Reply-To: X-ASG-Orig-Subj: Re: How to disable system.gc() calls every 60 seconds Subject: Re: How to disable system.gc() calls every 60 seconds To: "JCS Users List" X-Mailer: Lotus Notes Release 6.5.3 September 14, 2004 Message-ID: From: Paul.Lewandowski@kohls.com Date: Wed, 14 Jun 2006 13:32:29 -0500 MIME-Version: 1.0 X-MIMETrack: Serialize by Router on LNCORP03/Kohls(Release 6.5.4|March 27, 2005) at 06/14/2006 01:32:29 PM, Itemize by SMTP Server on Kohlnt65/Kohls(Release 6.5.4|March 27, 2005) at 06/14/2006 01:32:29 PM, Serialize by Router on Kohlnt65/Kohls(Release 6.5.4|March 27, 2005) at 06/14/2006 01:32:30 PM, Serialize complete at 06/14/2006 01:32:30 PM Content-type: text/plain; charset=US-ASCII X-Virus-Scanned: by KScan04 at kohls.com X-Barracuda-Spam-Score: 0.55 X-Barracuda-Spam-Status: No, SCORE=0.55 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=6.0 KILL_LEVEL=1000.0 tests=NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.02, rules version 3.0.14731 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.55 NO_REAL_NAME From: does not include a real name X-Barracuda-Rcpt: jcs-users@jakarta.apache.org X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Just to let you know, adding the Java command line -Dsun.rmi.dgc.server.gcInterval=3600000 to the remote server did not stop the 60 second system.gc()s. Paul Paul.Lewandowski@ kohls.com To 06/14/2006 12:36 "JCS Users List" PM cc Please respond to Subject "JCS Users List" Re: How to disable system.gc() Thank you. The default of one hour starts with JDK 6.0 (Mustang) but the reference you gave me allows the setting of this value for any JDK using the Java command line option of -Dsun.rmi.dgc.server.gcInterval=3600000 for 1 hour. The reference document for this is located at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6200091. You might want to also add to your documentation something else that has change in regard to RMI defaults. Starting with JDK 1.3.1 SR7 and JDK 1.4.2 the RMI connection pooling is turned OFF by default. In order to turn this on you need to add the Java command line option of -Dsun.rmi.transport.tcp.connectionPool=true. Paul Aaron Smuts To JCS Users List 06/14/2006 11:28 AM cc Subject Please respond to Re: How to disable system.gc() "JCS Users List" calls every 60 seconds I cannot find any call to System.gc in the src/java directory. I don't think this is the cause. What is the symptom, you see gc every 60 seconds? That's an RMI default setting: "Default GC interval lengthed to one hour (6200091) In previous releases, the maximum interval between garbage collections of the local heap enforced by the RMI implementation (while there are live remote references or exported remote objects), which is controlled by the system properties sun.rmi.dgc.client.gcInterval and sun.rmi.dgc.server.gcInterval, was one minute by default. The default interval is now one hour, to better accommodate applications with large heap sizes without special configuration." see: https://java.sun.com/javase/6/docs/guide/rmi/relnotes.html --- Paul.Lewandowski@kohls.com wrote: > The JCS jar file is jcs-1.2.7.3.jar. > > We have the shrinker set to "false". > > Paul > > > > > > Aaron Smuts > > > > > To > JCS Users > List > 06/14/2006 10:42 > > AM > cc > > > > Subject > Please respond to Re: How to > disable system.gc() > "JCS Users List" calls every > 60 seconds > > a.apache.org> > > > > > > > > > > > > > > There used to be a System.gc() call in the memory > shrinker thread, but this was removed over 2 years > ago. I don't think there are any others in the JCS > code base. I'll take another look. . . . What > version of JCS are you running? > > --- Paul.Lewandowski@kohls.com wrote: > > > Does anyone know how to disable the system.gc() > > calls that occur every 60 > > seconds on a remote JCS caching server? > > > > I have tried adding the java option > > "-Xdisableexplicitgc" but it still does > > not prevent this. > > > > Thanks. > > > > Paul > > > > > > CONFIDENTIALITY NOTICE: > > This is a transmission from Kohl's Department > > Stores, Inc. > > and may contain information which is confidential > > and proprietary. > > If you are not the addressee, any disclosure, > > copying or distribution or use of the contents of > > this message is expressly prohibited. > > If you have received this transmission in error, > > please destroy it and notify us immediately at > > 262-703-7000. > > > > CAUTION: > > Internet and e-mail communications are Kohl's > > property and Kohl's reserves the right to retrieve > > and read any message created, sent and received. > > Kohl's reserves the right to monitor messages by > > authorized Kohl's Associates at any time > > without any further consent. > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > jcs-users-unsubscribe@jakarta.apache.org > > For 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 > > > > > CONFIDENTIALITY NOTICE: > This is a transmission from Kohl's Department > Stores, Inc. > and may contain information which is confidential > and proprietary. > If you are not the addressee, any disclosure, > copying or distribution or use of the contents of > this message is expressly prohibited. > If you have received this transmission in error, > please destroy it and notify us immediately at > 262-703-7000. > > CAUTION: > Internet and e-mail communications are Kohl's > property and Kohl's reserves the right to retrieve > and read any message created, sent and received. > Kohl's reserves the right to monitor messages by > authorized Kohl's Associates at any time > without any further consent. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > jcs-users-unsubscribe@jakarta.apache.org > For 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 CONFIDENTIALITY NOTICE: This is a transmission from Kohl's Department Stores, Inc. and may contain information which is confidential and proprietary. If you are not the addressee, any disclosure, copying or distribution or use of the contents of this message is expressly prohibited. If you have received this transmission in error, please destroy it and notify us immediately at 262-703-7000. CAUTION: Internet and e-mail communications are Kohl's property and Kohl's reserves the right to retrieve and read any message created, sent and received. Kohl's reserves the right to monitor messages by authorized Kohl's Associates at any time without any further consent. --------------------------------------------------------------------- To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org For additional commands, e-mail: jcs-users-help@jakarta.apache.org CONFIDENTIALITY NOTICE: This is a transmission from Kohl's Department Stores, Inc. and may contain information which is confidential and proprietary. If you are not the addressee, any disclosure, copying or distribution or use of the contents of this message is expressly prohibited. If you have received this transmission in error, please destroy it and notify us immediately at 262-703-7000. CAUTION: Internet and e-mail communications are Kohl's property and Kohl's reserves the right to retrieve and read any message created, sent and received. Kohl's reserves the right to monitor messages by authorized Kohl's Associates at any time without any further consent. --------------------------------------------------------------------- To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org For additional commands, e-mail: jcs-users-help@jakarta.apache.org