commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Korcan (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NET-443) Threads are in State RUNNABLE FTPCLient
Date Wed, 29 Feb 2012 05:46:02 GMT

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

Korcan commented on NET-443:
----------------------------

commons.net 3.0.1
Thsi application is too big RMI is in Jconsole.I myself dont use.I just use ftp.listfiles.
here i have read that it is because of active passive mode.i will try maybe it can solve my
problem but i afraid that it will produce problem with multithread application
                
> Threads are in State RUNNABLE FTPCLient
> ---------------------------------------
>
>                 Key: NET-443
>                 URL: https://issues.apache.org/jira/browse/NET-443
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>         Environment: WIN2003
>            Reporter: Korcan
>              Labels: newbie
>   Original Estimate: 612h
>  Remaining Estimate: 612h
>
> Hi there, 
> I have developed new application which uses apachi commons.net FTPClient to connect to
a Windows OS FTP Server and checks approximately 4000 folders on FTP Server. 
> I am generating Threads to minimize the looping over folders.Every thread tries to loop
for example 250 folders.When i run the application on my local computer WinXP no problem.When
i yesterday installed WIN2003 Server and run the application i realized that program runs
, tries 3-5 times for every thread and sleeps ...and suddenly i see that threads are blocked.

> I use JRE6 and JConsole also i can see very well that every thread are in state RUNNABLE
and RMI TCP threads are time waited state.I could not find any solution the whole day. 
> is it api problem or JRE problem or OS problem? 
> Thanks in advance for your helps 
> BTW there is a code ftp.listfiles(); threads are waiting for this i think but why i dont
know

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message