Confluence log error - Socket accept failed - Too many open files

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 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$Acceptor run
SEVERE: Socket accept failed Too many open files
at Method)

6 answers

1 accepted

Actually this error could be a bunch of errors, but please check this KB that may help you:

0 votes
David Simpson Community Champion Mar 13, 2012

Is that the full stack trace? Or are you missing soem of it?

No, unfortunately that is all there is.

No, unfortunately that is all there is.

You can check how many files are opened with lsof, and tweak your ulimit accordingly.

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?

have you tried to update a number of open files per process? (bump it up from 1024)

Janet Albion Atlassian Team Oct 09, 2013

you might want to check what is the size of the maxThread in your tomcat's server.xml

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

475 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you