Symptoms:
Error during transfer task while ingesting data from a SQL server data source to an Ingest instance with Azure Data Lake storage. The error message typically includes:
Error: System.Net.Http.HttpRequestException: Error while copying content to a stream.
Cause:
The issue is likely related to concurrency settings and resource limitations.
Resolution:
-
Increase Timeout Settings:
-
Increase the timeouts for the Data Lake Ingest Instance in the TDI portal.
-
Ensure the timeout is set to a value that accommodates the data transfer size.
-
Reduce Concurrent Execution Threads:
-
Lower the number of concurrent execution threads to e.g. 2.
-
This can be done in the Ingest Instance data source advanced settings.
-
Monitor and Adjust Resource Allocation:
-
If reducing the threads resolves the issue, consider scaling up the VM running the Ingest Instance Server to handle more concurrent tasks.
-
Monitor the performance and adjust CPU and memory allocation as needed.
Reference Ticket:
34258