Skip to main content

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

This would be a new report of such an issue.
Do you use hot deployment / auto-reload features?

Also, can you upgrade?
Jetty 9.0.5 is an old release of Jetty 9, back when the codebase was being transitioned to support Servlet 3.1
Lots (and I mean *LOTS*) of updates to Jetty since then.

Between Jetty 9.0.5 and 9.2.3:

  * 1 year
  * 22 releases
  * 2,086 commits
  * 3,673 files changed (in git)
  * support for servlet 3.1 standard implemented / introduced / stablized
  * support for javax.servlet standard implemented / introduced / stabliized

Joakim Erdfelt <joakim@xxxxxxxxxxx>
Expert advice, services and support from from the Jetty & CometD experts

On Wed, Sep 17, 2014 at 7:27 AM, Rob Nikander <rob.nikander@xxxxxxxxx> wrote:

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-
java      1149       root  150r      REG                8,0   733422     144359 /tmp/jetty-
java      1149       root  176r      REG                8,0   733422     144359 /tmp/jetty-
java      1149       root  199r      REG                8,0   733422     144359 /tmp/jetty-

[ ... 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?


jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top