Coder Social home page Coder Social logo

Comments (12)

Claudio-Merola avatar Claudio-Merola commented on May 29, 2024

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.

ashrafcitius avatar ashrafcitius commented on May 29, 2024

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.

ashrafcitius avatar ashrafcitius commented on May 29, 2024

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.

Claudio-Merola avatar Claudio-Merola commented on May 29, 2024

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.

ashrafcitius avatar ashrafcitius commented on May 29, 2024

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.

ashrafcitius avatar ashrafcitius commented on May 29, 2024

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.

Claudio-Merola avatar Claudio-Merola commented on May 29, 2024

sorry, is -HeavyLoad

Can you download the version 3.1.07 and give it a try?

Thanks

from ari.

ashrafcitius avatar ashrafcitius commented on May 29, 2024

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.

Claudio-Merola avatar Claudio-Merola commented on May 29, 2024

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.

ashrafcitius avatar ashrafcitius commented on May 29, 2024

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.

Claudio-Merola avatar Claudio-Merola commented on May 29, 2024

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.

github-actions avatar github-actions commented on May 29, 2024

This Issue is stale and may be automatically close soon.

from ari.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.