Forums

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

System Error because of Open Files ((Too many open files))

Naqibullah Azizi February 16, 2023

Hello Community,

unfortently we have an issue with our server going down because of too many open files.
We followed the recommendation from Atlassian and increased already the maximum limit of open files, as mentioned here: Too many open files error | Confluence | Atlassian Documentation

 

This is the cause that we get:

javax.servlet.ServletException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getConfluenceResourceTags' in class com.atlassian.confluence.setup.velocity.VelocityFriendlyPageBuilderService threw exception java.lang.RuntimeException: java.io.FileNotFoundException: /data1/confluence/webresource-temp/272681.cachedfile (Too many open files) at /decorators/includes/header.vm[line 96, column 24]

    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getConfluenceResourceTags' in class com.atlassian.confluence.setup.velocity.VelocityFriendlyPageBuilderService threw exception java.lang.RuntimeException: java.io.FileNotFoundException: /data1/confluence/webresource-temp/272681.cachedfile (Too many open files) at /decorators/includes/header.vm[line 96, column 24]

    Invocation of method 'getConfluenceResourceTags' in class com.atlassian.confluence.setup.velocity.VelocityFriendlyPageBuilderService threw exception java.lang.RuntimeException: java.io.FileNotFoundException: /data1/confluence/webresource-temp/272681.cachedfile (Too many open files) at /decorators/includes/header.vm[line 96, column 24]

    java.io.FileNotFoundException: /data1/confluence/webresource-temp/272681.cachedfile (Too many open files)

    /data1/confluence/webresource-temp/272681.cachedfile (Too many open files)

 

 

Does anybody have an idea where the problem could be?
Should we increase the maximum open file limit even more?

 

Thanks in advance and Best Regards

Naqibullah

1 answer

0 votes
Kurt Klinner
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 16, 2023

@Naqibullah Azizi 

Which approach did you follow limits.conf vs. systemd? Can you share what you configured? Did you restart Confluence / the server after adjusting the limits?

 

Cheers

Kurt

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events