Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
HamidBee
Power Participant
Power Participant

Understanding Timeout in Activities

Hi all,

 

I'm trying to get a clearer understanding of the Timeout setting in Fabric activities. My current understanding is that Timeout determines how long an activity is allowed to run before it stops. So, for example, if I set a Timeout of 48 hours on a Copy Data activity that only needs 3 minutes to complete, would that limit how much data gets copied within the allowed time, or does it simply allow the activity up to 48 hours to finish?

 

Additionally, I'm wondering why setting a Timeout is necessary. Since activities in a pipeline generally move on to the next step once completed, what is the purpose of specifying a timeout duration? Are there specific scenarios where this functionality becomes crucial?

 

Thanks in advance for your insights.

1 ACCEPTED SOLUTION
jpelham
Helper I
Helper I

If you have a copy data activity that only typically takes 3 minutes to complete, I would recommend not allowing itto run for 48 hours. You should be setting the timeout to a time that allows for the activity to reasonably complete with a small buffer. The minimum timeout is 10 minutes. If there ends of being a connection issue and the activity is allowed to run for 48 hours when it typically only takes 3 minutes, you will use more resources than necessary. 

 

Instead of using long periods of time before an activity times out, you should use retries, and also maybe incorporate sending emails or teams messages if an activity fails. For example, if you set a timeout of 10 minutes and have retries set to 2, your activity will attempt to complete up to 3 times and run for up to 30 minutes. If it still fails to load, then you could set up notifications on failure. This allows you catch potential issues with the pipeline, data source, or the gateway. 

View solution in original post

3 REPLIES 3
jpelham
Helper I
Helper I

If you have a copy data activity that only typically takes 3 minutes to complete, I would recommend not allowing itto run for 48 hours. You should be setting the timeout to a time that allows for the activity to reasonably complete with a small buffer. The minimum timeout is 10 minutes. If there ends of being a connection issue and the activity is allowed to run for 48 hours when it typically only takes 3 minutes, you will use more resources than necessary. 

 

Instead of using long periods of time before an activity times out, you should use retries, and also maybe incorporate sending emails or teams messages if an activity fails. For example, if you set a timeout of 10 minutes and have retries set to 2, your activity will attempt to complete up to 3 times and run for up to 30 minutes. If it still fails to load, then you could set up notifications on failure. This allows you catch potential issues with the pipeline, data source, or the gateway. 

Thanks for the explanation.

v-kongfanf-msft
Community Support
Community Support

Hi @HamidBee ,

 

Based on your confusion, here is my answer:

  • This setting does not limit the amount of data that can be replicated in the allowed time, but allows the activity to run for a maximum of 48 hours. The Timeout is set to prevent the activity from running indefinitely, especially in the event of problems or long periods of incompletion.

vkongfanfmsft_0-1730687947731.png

 

  • Specific scenarios: For example, when working with large data sets or complex computational tasks, the activity may take a long time to complete. By setting an appropriate Timeout, you can ensure that the activity completes in a reasonable amount of time, avoiding the system resource usage that can result from long running times.

For more details, you can refer to below document:

Activity overview - Microsoft Fabric | Microsoft Learn

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

November Update

Fabric Monthly Update - November 2024

Check out the November 2024 Fabric update to learn about new features.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.