Last night openfire crasged. From what i figured out so far because of an GC overhead limit exceeded.
This is what warn.log gives me:
2010.01.06 05:53:01 Problem scavenging sessions java.lang.OutOfMemoryError: GC overhead limit exceeded
2010.01.06 09:43:36 No ACK was received when sending stanza to: org.jivesoftware.openfire.nio.NIOConnection@1001894 MINA Session: (SOCKET, R: /95.33.124.193:49172, L: /92.51.129.253:5223, S: 0.0.0.0/0.0.0.0:5223)
2010.01.06 10:08:54 Shutdown waited for 0 milliseconds for all the connections to become inactive but the active count is still 1. Shutting down anyway.
The error.log:
2010.01.06 09:16:02 [org.jivesoftware.util.log.util.CommonsLogFactory$1.error(CommonsLogFactory.jav a:92)] Couldn’t get connection
java.lang.NullPointerException
Stdout.log tells me: There was a error starting the server. See logfiles for further informations.
Stderror.log:
Exception in thread “HSQLDB Timer @1aa9f99” java.lang.OutOfMemoryError: Java heap space
Database setup or configuration error: Please verify your database settings and check the logs/error.log file for detailed error messages.
Logging Error: Unknown error writing event.
java.lang.OutOfMemoryError: GC overhead limit exceeded
Database could not be accessed
java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: General error: java.lang.OutOfMemoryError: Java heap space
at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager .java:124)
at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:698)
at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:427)
at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:161)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:106)
at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.Launcher.main(Unknown Source)
info.log:
2010.01.06 07:38:08 Unable to get a connection from the database pool (attempt 3 out of 10).
java.sql.SQLException: java.lang.NullPointerException
Thats what i got so far. If i try to start openfire it seems to be sarting. “The deamon is running” i get as result. But after some seconds the deamon stopped without notice.
The deamon is stopped but my system process shows up:
PID
%CPU
%MEM
Command
Nice
Pri
RSS
Stat
Time
User
30660
99.9
2.7
/usr/bin/java -server -Dinstall4j.jvmDir=/usr -Dexe4j.moduleName=/opt/openfire/bin/openfire -classpath /opt/openfire/.install4j/i4jruntime.jar:/opt/openfire/lib/activation.jar:/opt/o penfire/lib/bouncycastle.jar:/opt/openfire/lib/commons-el.jar:/opt/openfi
0
21
921952
S
00:07:16
10015
Now i’m stuck. I can’t start the server and i don’t no why. So i’m looking for some help