Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed: Too many open files error issue #436

Open
ebottabi opened this issue Aug 6, 2022 · 1 comment
Open

failed: Too many open files error issue #436

ebottabi opened this issue Aug 6, 2022 · 1 comment

Comments

@ebottabi
Copy link

ebottabi commented Aug 6, 2022

  • System Version: Ubuntu 18.04
  • Build tools: maven
  • JDK Version: 1.8
  • Blade Version: 2.0.15.RELEASE

Describe the bug

I get this error where the running blade instance throws an exception with message: failed: Too many open files

on a closer look i see: com.blade.exception.TemplateException: java.nio.file.FileSystemException: /home/server/resources/templates/index.html: Too many open files, this file does exist on that path in production and it is the only file within that folder.

when it happens the entire application breaks.

Screenshots:

Screenshot 2022-08-06 at 7 48 06 AM

@auula
Copy link

auula commented Oct 15, 2022

  • System Version: Ubuntu 18.04
  • Build tools: maven
  • JDK Version: 1.8
  • Blade Version: 2.0.15.RELEASE

Describe the bug

I get this error where the running blade instance throws an exception with message: failed: Too many open files

on a closer look i see: com.blade.exception.TemplateException: java.nio.file.FileSystemException: /home/server/resources/templates/index.html: Too many open files, this file does exist on that path in production and it is the only file within that folder.

when it happens the entire application breaks.

Screenshots:

Screenshot 2022-08-06 at 7 48 06 AM

Maybe you have opened too many files, the system kernel also has a file descriptor limit, maybe your static template issues and js, css files are too much, a one-time open file descriptor more than the system limit, you check the kernel error : Too many open files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants