Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Diagnosing a cause of high number of open files (8192+)

L. Pavljuk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 10, 2022

Hello,

a client for whom we're hosting and managing a few Atlassian web applications asked us again to increase the max number of open files for his Confluence application as the server reports being close to the current limit (8192).

The first time, we increased the limit according to the instructions here , from 1024 to 8192. The increased value was reached again, however (Currently getting a warning with 7804 / 8192).

Are there any further way of diagnosing the cause for such high number of open FD's?

Running lsof on the Confluence process, I can see that majority of the open files are from a directory "*confluence_home*/attachments/ver003/102/..." (6471 /  8196)

 

Platform: Linux (Debian 8 Jessie)

Java: OpenJDK 1.8.0_102

Confluence v7.14.1

DB: MySQL v5.7.30

2 answers

0 votes
Pramodh M
Community Champion
January 10, 2022

Hi @L. Pavljuk 

It basically means the users in your instance are using the confluence application more!!

Here's a reference link

https://confluence.atlassian.com/confkb/health-check-confluence-open-files-limit-844236751.html

Thanks,
Pramodh

0 votes
Fabio Racobaldo _Catworkx_
Community Champion
January 10, 2022

Hi @L. Pavljuk ,

please check the disk type. NFS is not supported and could cause your issue.

Take a look to this article https://confluence.atlassian.com/confkb/too-many-open-files-error-659784628.html

Hope this helps,

Fabio

L. Pavljuk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 10, 2022

Hello Fabio,

 

thank you for the suggestion, however, the home directory is on top of a generic Ext4 filesystem, so that's unlikely to be the cause of the problem.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events