camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Grzybek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8718) Connection leak with ftp consumer and invalid credentials
Date Thu, 07 May 2015 15:37:00 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-8718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14532871#comment-14532871
] 

Grzegorz Grzybek commented on CAMEL-8718:
-----------------------------------------

I confirm that simply disconnecting {{client}} after {{org.apache.commons.net.ftp.FTPClient#login()}}
returns {{false}} prevents from leaking sockets/connections.
Checking with producer and whether this is correct solution.

> Connection leak with ftp consumer and invalid credentials
> ---------------------------------------------------------
>
>                 Key: CAMEL-8718
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8718
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.12.5, 2.13.4, 2.14.2, 2.15.1
>            Reporter: Grzegorz Grzybek
>            Assignee: Grzegorz Grzybek
>             Fix For: 2.14.3, 2.16.0, 2.15.3
>
>
> In each iteration new socket connection is created, but never closed. This leads to growth
of {{ESTABLISHED}} connections to FTP server.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message