Undertow multi-part upload can potentially leak file descriptors

Solution Verified - Updated -

Issue

  • When Too many open files occurred, there are a lot of FDs like as follows in lsof results. And those continues to remain.
COMMAND    PID  USER   FD      TYPE             DEVICE  SIZE/OFF      NODE NAME
...
java    14293 jboss 2022r      REG              253,0         0 123123411 /PATH_TO/undertow3910449410434351231upload (deleted)
java    14293 jboss 2023r      REG              253,0     12311 321232114 /PATH_TO/undertow1123943802489403213upload (deleted)
java    14293 jboss 2024r      REG              253,0     12311 298237411 /PATH_TO/undertow3190321842317483219upload (deleted)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.1.x
    • 7.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In