[Performance Tuning] - too many system gc calls?
by dobellsa
Hi!
I'm using a jboss 4.2.0 server in a machine with theese features:
- RAM: 4 GB
- CPU: 2 processors ( Intel Xeon E5320 @ 1.86GHz)
- Operating system: Centos 5.5
- Java: jdk_1.6.0_03
- Jboss: 4.2.0_GA
The jvm parameters are:
-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dcom.sun.management.jmxremote
If i use jconsole I can see that the memory is free almos every minute althoug the heap is less than 80Mb used and nobody is using the only one application deployed in server.
If I set the parameters:
-Xms512m -Xmx512m -Xmn150m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dcom.sun.management.jmxremote
Memory is just free when the heap goes to 150Mb, so gc is called every 30 minutes more or less.
The question is, what parameters are good? The first ones or the second ones?
What aditional parameters can I use to get better performance and heap, jvm tuning?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101682#4101682
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101682
18 years, 5 months
[Installation, Configuration & DEPLOYMENT] - Error when deploy bean !
by catania
Hi all!
I use jboss-4.0.5.GA and EJB3.0.
Today, when I deploy my bean (entity bean), Jboss server give some error same as:
.......
| Caused by: java.sql.SQLException: General error message from server: "Can't create/write to file 'C:\WINDOWS\TEMP\#sql_758_0.MYI' (Errcode: 13)"
| at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2001)
| at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1168)
| at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1279)
| at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
| at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
| at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
| at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
| at com.mysql.jdbc.DatabaseMetaData.getColumns(DatabaseMetaData.java:857)
| .....
Three days ago, all things are ok!
have some ideas about it!
Thank,
catania.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101676#4101676
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101676
18 years, 5 months