Azure / azure-storage-net

Microsoft Azure Storage Libraries for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ServicePointManager settings aren't respected

serkantkaraca opened this issue · comments

Which service(blob, file, queue, table) does this issue concern?

Blob

Which version of the SDK was used?

11.1.3

Which platform are you using? (ex: .NET Core 2.1)

.NET Core 3.1

What problem was encountered?

ServicePointManager.DefaultConnectionLimit and ServicePointManager.MaxServicePointIdleTime settings are not respected. Connections are intermittently closed after 100 seconds due to idle timeout which seems to be causing storage I/O timeouts. Many customers of Event Hubs SDK already impacted by this. We are planning to rollback to 9.3 if there is no quick solution for now.

How can we reproduce the problem in the simplest way?

Set ServicePointManager.DefaultConnectionLimit some value like 10 and execute parallel blob operations. Number of client connections exceed the ServicePointManager set limit.

Have you found a mitigation/solution?

No