-
Notifications
You must be signed in to change notification settings - Fork 91
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
Scanning large environments exit with: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. #249
Comments
As mentioned in #248: For large environments, If you hot this issue please use the |
@red-erik can you check if preview version: v.2.0.0-preview.5 works for you. Thanks! |
Hello, fatal error: all goroutines are asleep - deadlock! goroutine 1 [chan send, 2 minutes]:
Regards, |
Yo can also try running with the flag |
With a single sub I have this: 2024-08-21T09:13:13+02:00 INF Scanning subscriptions for Resource Count per Subscription and Type Only 1 excel file produced, no pbit, no subfolder,etc.etc. Checking a little bigger one |
fatal error: all goroutines are asleep - deadlock! goroutine 1 [chan send]: |
--azqr=false seems to be working |
@red-erik version: v.2.0.0-preview.6 really improves how I ran some tests and scanning diagnostics settings for 260000 resources can take about 20 minutes. After that each subscription scan can take about 2 or 3 minutes more. Please note that using a Managed Identity or a Service Principal, instead of Azure CLI improves performance due to token caching. |
Hello, 2024-08-22T11:03:34+02:00 INF Scanning subscriptions for Diagnostic Settings Regards, |
It only works with --azqr=false |
I'll keep testing, I didn't get throttled yesterday while I runing some tests. The reason disabling I'll release 2.0.0-preview.7 shortly. |
Preview7 seems to be working fine, with all required parameters (without disabling AZQR) . Red. |
That is great news! @red-erik thanks for your feedback! Out of curiosity how long did the scan take? |
started |
The
which will create the |
Expected Behavior
Scanning large environments should work without issues
Actual Behavior
Scanning large environments exit with the following exception:
FTL Failed to get diagnostic settings error="Post "[https://management.azure.com/batch?api-version=2020-06-01\](https://management.azure.com/batch?api-version=2020-06-01%5C)": dial tcp [2603:1030:a0c::10]:443: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full."
The text was updated successfully, but these errors were encountered: