Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
FTP poller threads stop working with the stack trace below, causing the FTP client pool to run out of connections
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)
See http://www.nabble.com/FTP-poller-stalls...-tf3490690s12049.html for more information