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 vote
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.

0 vote

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?

Andrei [errno] Community Champion May 12, 2013

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

251 views 11 10
Join discussion

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