none
Configuring Error Threshold Property of FTP adapter RRS feed

  • Question

  • I want to set up FTP polling to Unlimited attempts, i.e., it should not stop in case if the FTP server is inaccessible for a duration.

    Read about this property

    Error Threshold

    Specify the number of errors that the BizTalk Server can encounter before the location is disabled.

    Default value: 10

    I want to know the action it will take if I set the property value to 0 (zero). Will it keep on polling (I want this) or is there a default max attempts after which the receive locations will still go off?


    Monday, May 15, 2017 3:06 PM

All replies

  • So, I had always figured that 0 means unlimited, but in retrospect, I've never had occasion to test this.

    Try 0 first.  If that works, you have your answer.

    The alternative is to use an exceptionally high value, 10000 perhaps.

    Monday, May 15, 2017 6:33 PM
  • So, I had always figured that 0 means unlimited, but in retrospect, I've never had occasion to test this.

    Try 0 first.  If that works, you have your answer.

    The alternative is to use an exceptionally high value, 10000 perhaps.

    I did a sample test on this and found that the value 0=> unlimited (as it has not stopped since 1 day with continuous polling every min). The adapter gives 10 logs (for the first ten continuous failures) in the Windows Logs then the logging stops with the Message "The adapter "FTP" raised an error message. Details "The Event Log Error Threshold was reached. The adapter will continue polling, but further event log entries will be suppressed."."

    It's meeting my requirement, but Having said that, I am curious to know the logic they have configured in the adapter in back-end for this situations to be sure that it will never go Off or will not result in excessive Memory/CPU usage due to numerous retries.

    Tuesday, May 16, 2017 8:03 AM
  • Hi Akash

    The FTP adapter being a pretty old one should not have issues with memory leak/CPU, etc. To be sure, you can let this config run for a while in your environment and see how that goes. So, if you are on BizTalk 2013 for example, chances of issues with this is pretty slim.

    Also, you can apply the latest CU for your version of BizTalk Server - it may contain some hotfixes related to the FTP adapter.


    Thanks Arindam

    Tuesday, May 16, 2017 8:50 AM
    Moderator
  • I am curious to know the logic they have configured in the adapter in back-end for this situations to be sure that it will never go Off or will not result in excessive Memory/CPU usage due to numerous retries.

    There is none. Why? Because a failed connection is not an exception case for the Adapter.

    If fails, logs, then tries again.  Likely a common occurrence.

    Tuesday, May 16, 2017 11:54 AM