Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jetty opening too many files (same file repeatedly)

Hi,

I've got a problem where my Jetty process starts getting "too many open files" exceptions and needs to be restarted. This output from `lsof` is suspicious.  It appears to be reopening the same static js files over and over...

root@ubuntu:# lsof | grep angular.js
java      1149       root  147r      REG                8,0   733422     144359 /tmp/jetty-0.0.0.0-8080-myapp.war-_myapp-any-/webapp/lib/common/angular.js
java      1149       root  150r      REG                8,0   733422     144359 /tmp/jetty-0.0.0.0-8080-myapp.war-_myapp-any-/webapp/lib/common/angular.js
java      1149       root  176r      REG                8,0   733422     144359 /tmp/jetty-0.0.0.0-8080-myapp.war-_myapp-any-/webapp/lib/common/angular.js
java      1149       root  199r      REG                8,0   733422     144359 /tmp/jetty-0.0.0.0-8080-myapp.war-_myapp-any-/webapp/lib/common/angular.js

[ ... repeated 35 times and growing, server has only been up 30 minutes ... ]

This is jetty 9.0.5.  Any experience this before or have an idea what could be causing it?

Rob

Back to the top