-
-
Notifications
You must be signed in to change notification settings - Fork 596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling BulkInsertOrUpdateAsync() will hang when running in Linux #281
Comments
I have same issue. It takes a lot of time or does not work under Linux: |
Could this issue be down to dotnet/SqlClient#262 in the MS Sql Client? Might be worth updating the Microsoft.Data.SqlClient reference from 1.1.0 to 1.1.1 to get the fix for that? |
Hello, this is very reproducible if you do a bulk insert with more 200MB of data with two Task in parallel. It hangs with a deadlock under Linux keeping the TCP connection open without sending any packets. We got rid of this issue by updating the SQL Client to version 1.1.1. |
Merged and NuGet 3.1.1 published. |
Thanks a lot :) |
I have been trying to get my data process to work when deploying to a Linux container in Cloud Foundry. I am using the "dotnet_core_buildpack" buildpack and "cflinuxfs3" stack. It's running DotNetCore 3.1 and targeting "linux-x64" self contained. I have tried many things to get this to work, but the process would always hang when calling BulkInsertOrUpdateAsync(). Sorry, I don't know how to provide any specific details. I'm not getting an exception or anything. All I have to go on is logging and that stops giving any messages when it hangs. Please let me know if there is a way to debug this further.
I was able to get it to work by changing over to the "binary_buildpack" buildpack and targeting "win10-x64" self contained.
Again, sorry I don't know how to provide more details, but I at least wanted to report the issue.
The text was updated successfully, but these errors were encountered: