servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet" <gno...@gmail.com>
Subject Re: [jira] Commented: (SM-915) FTP poller stalls with threads waiting on PlainSocketImpl.socketAccept()
Date Fri, 13 Apr 2007 11:22:01 GMT
I'm all in favor of upgrading to commons-net if it can fix some issues.
Do they have any time frame for a release ?

On 4/13/07, Gert Vanthienen (JIRA) <jira@apache.org> wrote:
>
>
>     [
> https://issues.apache.org/activemq/browse/SM-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39005]
>
> Gert Vanthienen commented on SM-915:
> ------------------------------------
>
> On the commons mailing list, Rory Winston suggested to upgrade to
> commons-net-2.0 RC, because it contains fixes for various threading
> issues.  It is available at
> http://people.apache.org/~rwinston/commons-net-2.0/commons-net-ftp-2.0.0-SNAPSHOT.jar
>
> However, it requires JDK5/6 and it is not a simple replacement for the
> current commons-net-1.4.x.jar (API changes).
>
> > FTP poller stalls with threads waiting on PlainSocketImpl.socketAccept()
> > ------------------------------------------------------------------------
> >
> >                 Key: SM-915
> >                 URL: https://issues.apache.org/activemq/browse/SM-915
> >             Project: ServiceMix
> >          Issue Type: Bug
> >          Components: servicemix-ftp
> >    Affects Versions: 3.1
> >            Reporter: Gert Vanthienen
> >         Attachments: SM-915.patch
> >
> >
> > FTP poller threads stop working with the stack trace below, causing the
> FTP client pool to run out of connections
> > {code}
> > Name: pool-component.servicemix-ftp-thread-2
> > State: RUNNABLE
> > Total blocked: 78,430  Total waited: 4,771
> > Stack trace:
> >     java.net.PlainSocketImpl.socketAccept(Native Method)
> >     java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
> >     java.net.ServerSocket.implAccept(ServerSocket.java:450)
> >     java.net.ServerSocket.accept(ServerSocket.java:421)
> >     org.apache.commons.net.ftp.FTPClient._openDataConnection_(
> FTPClient.java:502)
> >     org.apache.commons.net.ftp.FTPClient.initiateListParsing(
> FTPClient.java:2390)
> >     org.apache.commons.net.ftp.FTPClient.initiateListParsing(
> FTPClient.java:2364)
> >     org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141)
> >     org.apache.servicemix.ftp.FtpPollerEndpoint.pollFileOrDirectory(
> FtpPollerEndpoint.java:211)
> >     org.apache.servicemix.ftp.FtpPollerEndpoint.pollFileOrDirectory(
> FtpPollerEndpoint.java:203)
> >     org.apache.servicemix.ftp.FtpPollerEndpoint.poll(
> FtpPollerEndpoint.java:78)
> >
> org.apache.servicemix.common.endpoints.PollingEndpoint$PollSchedulerTask$1.run
> (PollingEndpoint.java:155)
> >
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask
> (ThreadPoolExecutor.java:665)
> >
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
> (ThreadPoolExecutor.java:690)
> >     java.lang.Thread.run(Thread.java:595)
> > {code}
> > See http://www.nabble.com/FTP-poller-stalls...-tf3490690s12049.html for
> more information
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Principal Engineer, IONA
Blog: http://gnodet.blogspot.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message