|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
FTP Polling Interval and ScanDelay Property |
« View previous topic :: View next topic » |
Author |
Message
|
gauravg |
Posted: Wed Sep 14, 2016 10:52 pm Post subject: FTP Polling Interval and ScanDelay Property |
|
|
Novice
Joined: 12 Jan 2016 Posts: 14
|
Hi,
On FileInput node, we have polling interval as well as ScanDelay(on FTP tab) property.
1)We have set polling interval as 5 seconds (Default value).
2)We have enabled Remote Transfer and set ScanDelay as 60 seconds(Default value).
3)We have FTPConfigurable Service used by this FileInput node and there scanDelay property value is 800 seconds ( not the default 60 seconds).
If we put a file in local input directory (instead of Remote Input Directory), the file picking time is random. At first time, it took 26 seconds to pick the file, next time it took 8 seconds.
Since we have enabled remote transfer so the polling time should be 800 seconds and not 5 seconds or 60 seconds. Although we are putting files in local directory to be read.
Issue :-
Why the file pickup time is coming random. Why it is not 800 seconds ?
My udnerstanding is that suppose we put file in local directory at Tth second , then it should be picked up at (T+800)th second .
Please suggest and correct
Version :- IIB 10
Thanks |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Sep 15, 2016 12:12 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
AFAIK, the polling is controlled from the IIB Server
So every 'N' seconds it will try to pick up a file.
That means if you make a file available on the remote system as:-
- 1 second after the poll then you will have to wait for 799 seconds before the next poll.
- 1 second before the next polle the file will be picked up almost immediately.
There is no mechanism in place for the remote server to tell the IIB server that a file has been made available so IMHO, your reasoning of
Quote: |
My understanding is that suppose we put file in local directory at Tth second , then it should be picked up at (T+800)th second .
|
is incorrect. I might be wrong but that is how I read it.
No doubt someone will be along shortly to explain the real meaning for the various delays. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Esa |
Posted: Thu Sep 15, 2016 12:44 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
Scan delay for the local directory is 5 seconds.
So if you put a file there locally, it will get consumed in about 5 sec.
Test with more than two files and you will notice that the delay is quite near 5 sec. Processing time for the first message (after deployment) is always a bit longer.
The node scans the directory every 5 seconds. The FTP service that feeds files to the local directory -- is another process. |
|
Back to top |
|
 |
gauravg |
Posted: Thu Sep 15, 2016 12:46 am Post subject: |
|
|
Novice
Joined: 12 Jan 2016 Posts: 14
|
Thanks for clarification.
If we set "scanDelay" in the configurable service as blank '', then does that mean we are setting no delay in scan. So IIB server will keep polling without any delay. Or ,in that case, it will pick up default value set on FileInput Node "scanDelay" value of 60 seconds overriding default "polling interval" of 5 seconds.
My requirement is that "if remote transfer is on, and we are placing files in local directory (not in remote directory), then those files should be picked up immediately as placed".
Please suggest what should be value to be set in scanDelay parameter in config service.
Thanks |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Sep 15, 2016 3:52 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Ask your team lead/project manager what "immediately" means.
Set the scan delay to that, or that plus 1 minute.
If you set the scan delay to 0, or otherwise so it is polling all of the time, then there will be a lot of traffic over FTP/SFTP looking for files. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|