Comments (12)
Hello @ashrafcitius
Where are you running the script? CloudShell, Windows 11 client computer, Mac?
Can you try to run the script with -Debug and -Lite parameters to see how it goes?
I have seen some problems when you do have some different types of resources with too many details in the properties for example
from ari.
I am running this in windows 11, and I did added the -Debug and -Lite parameter and then too it gets stuck at DEBUG: Jobs still Running:300 and then it just continues saying the same and gets stuck
from ari.
It gets stuck at
DEBUG: Starting subscription job
DEBUG: Starting processing job
DEBUG: Starting jobs collector
DEBUG: Jobs still running:30
DEBUG: Jobs still running:30
And then it just continues to show the same after sometime it just get stuck.
from ari.
I believe I know what might be happening, I think it is starting too much processes to handle the load...
I just uploaded a version 3.1.06, can you try it using the new parameter -Heavy?
from ari.
Do you meant to say > .\AzureResourceInventory.ps1 -Heavy -Debug
because i can see under the script there is a parameter as $HeavyLoad so should i mention -HeavyLoad or -Heavy?
from ari.
I tried to execute > .\AzureResourceInventory.ps1 -Heavy -Debug -Lite and now it is stuck at below.
DEBUG: Jobs still running: 6
just FYI it did hit the Heavy parameter that you have written.
from ari.
sorry, is -HeavyLoad
Can you download the version 3.1.07 and give it a try?
Thanks
from ari.
As you said i download the 3.1.07 and executed it with -HeavyLoad and now i am stuck as you can see below:
Seems like its taking time to process the resources and that is where it just get stuck as it contains a lot of properties and Resources.
DEBUG: Excel file:C:\AzureResourceInventory\AzureResourceInventory_Report_2023-08-28_19_24.xlsx
DEBUG: Excel Table Style used: Light19
DEBUG: Importing List of Unsupported Versions.
DEBUG: Looking for the following file: https://raw.githubusercontent.com/microsoft/ARI/main/Extras/Support.json
DEBUG: Checking if Draw.io Diagram Job Should be Run.
DEBUG: Starting Draw.io Diagram Processing Job.
DEBUG: Checking If Should Run Security Center Job.
DEBUG: Checking If Should Run Policy Job.
DEBUG: Starting Policy Processing Job.
DEBUG: Checking If Should Run Advisory Job.
DEBUG: Starting Advisory Processing Job.
DEBUG: Starting Subscriptions job.
DEBUG: Starting Processing Jobs in Heavy Mode.
DEBUG: Starting Jobs Collector.
DEBUG: Jobs Still Running: 7
DEBUG: Jobs Still Running: 7
DEBUG: Jobs Still Running: 7
DEBUG: Jobs Still Running: 7
DEBUG: Jobs Still Running: 7
DEBUG: Jobs Still Running: 7
DEBUG: Jobs Still Running: 7
DEBUG: Jobs Still Running: 7
DEBUG: Jobs Still Running: 7
DEBUG: Jobs Still Running: 7
DEBUG: Jobs Still Running: 7
DEBUG: Jobs Still Running: 7
DEBUG: Jobs Still Running: 7
from ari.
It should take some time to process. But it should not be stuck, can you leave it like that for a few hours and see if the number of jobs get lower?
from ari.
As you said I left it as it is for hours but the job did not get reduced also my CPU utilisation was 100% because of which my system itself got stuck.
from ari.
The processing power of you computer is not being able to handle that load.
I tried to add some extra resources in the script to slow a little bit the processing speed. it might take more time, perhaps some hours to complete, but I hope it will eventually not get stuck at 100%.
Try to download the last version and run with -HeavyLoad.
But if that do not work I'm afraid there is not going to be much else to do from this side.
from ari.
This Issue is stale and may be automatically close soon.
from ari.
Related Issues (20)
- "Jobs Still Running: 1" gets stuck HOT 8
- ThreadJob NotStarted HOT 8
- Az Cloud Shell OK, but Powershell (even with Azure Cli installed) stalls HOT 3
- ARI Script stalling out HOT 6
- Please remove the function that delete Excel files in the specified report directory HOT 5
- AVD / Windows 365 separated resources HOT 2
- Automation Account Problem HOT 3
- Add List Reserved Intances resources with their use ? HOT 1
- Trying to use Service Principal Authentication Method in a wrong way HOT 3
- Diagram HOT 9
- Am having an issue when deploying ARI HOT 1
- Feature Request: Use GitHub Releases HOT 1
- Privatelink IPs HOT 16
- Create diagrams by VNet HOT 4
- fails to create report HOT 12
- Draw.io can not open the XML file created by the program
- Load Balancer details not available HOT 4
- ARI Security Checks Report Incorrect Recommendation for the Guest Agent HOT 5
- XML not created (State Broken) HOT 4
- Azure Firewall - Add option to toggle between rule count and actual rules HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ari.