Bugs item #464330, was opened at 2001-09-24 01:47
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=464330&group_id=22866

Category: None
Group: v2.4 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: GCEnabled and GCInterval

Initial Comment:
For JBoss 2.4 / Linux 2.4 / JDK 1.3.1

If you specify a datasource in jboss.jcml with
GCEnabled set true, but without specifying a value for
GCInterval, the JBoss process runs at about 60% of a
PIII-700 CPU when not loaded.  Specifying a GCInterval
(I chose 200000) resolves the issue.   

Eg. commenting out the GCInterval line in the
datasource below causes CPU usage to max out.

Perhaps the default value for GCInterval is 0 rather
than 120000 as the documentation suggests ?

<attribute name="PoolName">OracleEjb</attribute>
    <attribute
name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</attribute>
    <attribute name="URL">xxxx</attribute>
    <attribute name="JDBCUser">xxxx</attribute>
    <attribute name="Password">xxxx</attribute>
    <attribute
name="TransactionIsolation">TRANSACTION_READ_COMMITTED</attribute>
    <attribute name="GCEnabled">true</attribute>
    <attribute name="GCInterval">200000</attribute>
    <attribute name="IdleTimeoutEnabled">true</attribute>
    <attribute name="IdleTimeout">1800000</attribute>
    <attribute name="MaxSize">15</attribute>
    <attribute name="Blocking">true</attribute>



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=464330&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to