You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (Jira)" <ji...@apache.org> on 2023/06/16 07:03:00 UTC
[jira] [Resolved] (SYNCOPE-1763) Constant increase of open files after upgrade to CXF 3.6.0
[ https://issues.apache.org/jira/browse/SYNCOPE-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò resolved SYNCOPE-1763.
---------------------------------------------
Resolution: Fixed
> Constant increase of open files after upgrade to CXF 3.6.0
> ----------------------------------------------------------
>
> Key: SYNCOPE-1763
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1763
> Project: Syncope
> Issue Type: Bug
> Components: client
> Affects Versions: 3.0.4
> Reporter: Fabio Martelli
> Assignee: Francesco Chicchiriccò
> Priority: Major
> Fix For: 3.0.4, 4.0.0
>
>
> 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
> {code}
> $ while [ 1 ]; do sudo lsof -u fabio 2> /dev/null | grep 54201| grep pipe | wc -l; sleep 60; done
> 17
> 17
> 17
> 17
> 17{code}
> and the following, the behaviour just after
> {code}
> $ while [ 1 ]; do sudo lsof -u fabio 2> /dev/null | grep 45581| grep pipe | wc -l; sleep 60; done
> 157
> 179
> 183
> 185
> 189{code}
> As you can see the difference is evident.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)