I recently upgraded a copy of our Confluence 3.2.1 and upgraded to 4.1.6. This morning I installed the Plugin License Manager (plugin) and the Essentials Plugin Pack (from Adaptavisit) + licensed it.
I am now seeing the below message in our catalina.out file. I have bounced Confluence a few times, but still seeing these repeatedly. Is this a configuration parameter in my setenv.sh that needs to be tweaked, or perhaps a Linux issue (we are on RHEL 5.7). I can not see any errors in /var/log to show it is an o/s issue. Any suggestions appreciated.
12/03/2012 12:18:11 PM org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
SEVERE: Socket accept failed
java.net.SocketException: Too many open files
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)
at java.net.ServerSocket.implAccept(ServerSocket.java:462)
at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:261)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket(JSSESocketFactory.java:178)
at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:352)
at java.lang.Thread.run(Thread.java:662)
Actually this error could be a bunch of errors, but please check this KB that may help you:
We experience exact this issue after having upgraded from Confluence 4.3 to 5.1.3. No real strange things to see with lsof, ulimit is unlimited. maximum allowed open files is 800k (and this limit doesn't seem to be reached).
When this happens, then Confluence seems 'hanging'.
Solution not (yet) found... Idea's are welcomed...
Maybe this is a solution?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
have you tried to update a number of open files per process? (bump it up from 1024)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you might want to check what is the size of the maxThread in your tomcat's server.xml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can check how many files are opened with lsof, and tweak your ulimit accordingly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is that the full stack trace? Or are you missing soem of it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.