Description
Just after the upgrade of CXF from 3.5.6 to 3.6.0 (commit 2252d74209bb944d90dd20579c2468597e4f79f3) opened FDs increase in number without ever decreasing.
This behaviour occour evrytime a cxf request is performed towards the Core component.
This issue has been discovered investigating a "Too many open files" exception raised by WA component during delete expiring gauth tokens job execution. Generally, considering an execution of this jov every 35 seconds, after 16 hours, more or less, WA becomes completely unavailable cause this issue.
The issue has been reproduced in the embedded env and analized by lsof tool.
This is an example before the commit above
$ while [ 1 ]; do sudo lsof -u fabio 2> /dev/null | grep 54201| grep pipe | wc -l; sleep 60; done 17 17 17 17 17
and the following, the behaviour just after
$ while [ 1 ]; do sudo lsof -u fabio 2> /dev/null | grep 45581| grep pipe | wc -l; sleep 60; done 157 179 183 185 189
As you can see the difference is evident.