I found the answer by re-reading the RUN article more carefully.  The trick
is to have BOTH the "client" and "server" statements present to disable the
RMI calls.  Here are the two commands:

-Dsun.rmi.dgc.client.gcInterval=600000

-Dsun.rmi.dgc.server.gcInterval=600000

According to the article, SUN is considering setting these defaults to
36000000 (1 hour) but others on the Internet say this could cause a GC
pause as long as 60 seconds so I'm going to experiment starting with 600000
(5 minutes).  If I find another setting that is more optimal with JCS I
will let you know.

I also found another reference on the Internet saying the the
-Xdisableexplicitgc setting will not stop this RMI invoked system.gc() call
from taking place;  don't know if that is a defect or not but I have
someone at IBM looking at it.

Thanks again for your help.

Paul



                                                                           
             Aaron Smuts                                                   
             <[EMAIL PROTECTED]                                             
             >                                                          To 
                                       JCS Users List                      
             06/14/2006 11:28          <jcs-users@jakarta.apache.org>      
             AM                                                         cc 
                                                                           
                                                                   Subject 
             Please respond to         Re: How to disable system.gc()      
             "JCS Users List"          calls every 60 seconds              
             <[EMAIL PROTECTED]                                             
               a.apache.org>                                               
                                                                           
                                                                           
                                                                           
                                                                           




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


--- [EMAIL PROTECTED] wrote:

> The JCS jar file is jcs-1.2.7.3.jar.
>
> We have the shrinker set to "false".
>
> Paul
>
>
>
>
>
>              Aaron Smuts
>
>              <[EMAIL PROTECTED]
>
>              >
>                    To
>                                        JCS Users
> List
>              06/14/2006 10:42
> <jcs-users@jakarta.apache.org>
>              AM
>                    cc
>
>
>
>               Subject
>              Please respond to         Re: How to
> disable system.gc()
>              "JCS Users List"          calls every
> 60 seconds
>              <[EMAIL PROTECTED]
>
>                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?
>
> --- [EMAIL PROTECTED] 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:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
>
>
> 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:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to