[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Maximum CPU Usage in Jboss4.0.4 GA

zasmen do-not-reply at jboss.com
Fri Feb 29 03:24:49 EST 2008


Hi Peter,

The configurations are as follows:

jdk version
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing)

postgresql version
PostgreSQL 8.1.4

jboss version
jboss 4.0.4 GA

linux server specification
RAM 1 GB
CPU 3 GHz

JVM shows::
 JAVA_OPTS="-server -Xms512m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
 
 
postgres-ds.xml shows::

  <local-tx-datasource>
    <jndi-name>PostgresDS</jndi-name>
    <connection-url>jdbc:postgresql://1.2.3.4:5432/db_testname</connection-url>
    <driver-class>org.postgresql.Driver</driver-class>
    <user-name>xyz</user-name>
    xyz
    
         <type-mapping>PostgreSQL 8.1.4</type-mapping>
          
    <min-pool-size>10</min-pool-size>
    <max-pool-size>64</max-pool-size>     
    <blocking-timeout-millis>30000</blocking-timeout-millis>
    <idle-timeout-minutes>15</idle-timeout-minutes>      
    <track-statement>true</track-statement>
    </local-tx-datasource>


postgresql.conf shows::
listen_addresses = '*'		
port = 5432
max_connections = 100
shared_buffers = 1000	

org.jboss.resource.connectionmanager.JBossManagedConnectionPool shows::
BlockingTimeoutMillis int RW  30000 MBean Attribute. 
State int R 3  MBean Attribute. 
AvailableConnectionCount long R 64  MBean Attribute. 
ManagedConnectionFactoryName javax.management.ObjectName RW  View MBean  MBean Attribute. 
ConnectionCount int R 10  MBean Attribute. 
NoTxSeparatePools boolean RW True False  MBean Attribute. 
MinSize int RW  10 MBean Attribute. 
MaxConnectionsInUseCount long R 14  MBean Attribute. 
MaxSize int RW 64  MBean Attribute. 
StateString java.lang.String R Started  MBean Attribute. 
InUseConnectionCount long R 0  MBean Attribute. 
ConnectionCreatedCount int R 42  MBean Attribute. 
ConnectionDestroyedCount int R 32  MBean Attribute. 
IdleTimeoutMinutes long RW 15

The applications gets very slow.Does increasing the RAM to 2gb solves it?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133085#4133085

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133085



More information about the jboss-user mailing list