Skip to content

Azure CLI Spawning many python processes  #26934

@tarres

Description

@tarres

Describe the bug

I have installed the Azure CLI version 2.5 from winget (in Windows 10 19044). It spwans a lot (10-15) python.exe processes from the Azure\CLI2 folder, each of them takes up around 3% CPU usage. This also causes the defender process to ramp up and making the system very slowly. I do not know what is causing so many processes to spawn. Fersh install of Azure CLI did not help

Related command

no command, just PC startup

Errors

No errors received

Issue script & Debug output

No Skript

Expected behavior

No Azure CLI processes when I do not use the shell

Environment Summary

azure-cli 2.50.0

core 2.50.0
telemetry 1.0.8

Extensions:
dataprotection 0.9.1

Dependencies:
msal 1.22.0
azure-mgmt-resource 23.1.0b2

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\Treinhardt.azure\cliextensions'

Python (Windows) 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:05:00) [MSC v.1929 32 bit (Intel)]

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions