Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] over 200K open files FIFO pipe

Hi,

I am running jetty server "9.4.19.v20190610".
I have no .wars loaded and have made a bunch of http 1.0 requests to the jetty web server to a URL which does not exist resulting in a 404 from the jetty web server.

What I noticed is that after some time the web server stopped responding, I was unable to run jmap to get a heap dump I instead got the message too many open files.

Running lsof on the process gave me lines like:
Service    5309 5347    root  515r     FIFO                0,9       0t0  172660316 pipe
Service    5309 5347    root  516w     FIFO                0,9       0t0  172660316 pipe
Service    5309 5347    root  517r     FIFO                0,9       0t0  172660317 pipe
Service    5309 5347    root  518w     FIFO                0,9       0t0  172660317 pipe
Service    5309 5347    root  519r     FIFO                0,9       0t0  172661057 pipe
Service    5309 5347    root  520w     FIFO                0,9       0t0  172661057 pipe

 cat openfiles.lsof.txt | grep 5309 | grep FIFO | wc
 211947 2115471 18863283

is that expected?

I restarted jetty and saw the number of those open files go up and down, like they got created and later gc'd.

many thanks,
Luke

p.s. I found this while trying to investigate a memory leak in conscrypt and jetty.

Back to the top