drapostolos / rdp4j

Remote Directory Poller for Java
MIT License
46 stars 25 forks source link

Limit on number of Directories to poll #17

Open nikhilingole opened 7 years ago

nikhilingole commented 7 years ago

Hi,

Thanks for the awesome library.

We are using this library to poll a FTP server and we are observing that it is not generating an fileAddedEvent when there are like 100 directories to poll. Is there any upper limit on the directories can we can poll. The same code works for 5 directories. fyi - I have tried increasing the polling interval with no success.

Any suggestions. Thanks.

drapostolos commented 7 years ago

Hi

As far as I know there is no limit in the library regarding number of directories to poll.

You can try to reproduce the problem with polling +100 directories on your local filesystem (using the JavaIoFileAdapter). If you're able to reproduce the problem, then it's something strange within the library (or the filesystem).

If the above does not give anything, maybe there could be some sort of limitation on the FTP server it self, like a limit in number of handled requests (concurrent?) within a time period?

/Alex

nikhilingole commented 7 years ago

Thanks for the quick reply Alex. I will give this a shot and check.

Thanks, Nikhil

drapostolos commented 7 years ago

Let us know how it goes.

/Alex

nikhilingole commented 7 years ago

Sure, I'll post my findings here.