Forum Discussion

Khaled's avatar
Khaled
Icon for Participant rankParticipant
2 months ago
Solved

High CPU Usage When Launching PowerShell on Windows Server

Hi 
encountered an issue where simply launching a PowerShell terminal on a Windows server causes the CPU to spike to 100%? We're currently experiencing this behaviour on a windows server. No scripts are being executed — the spike occurs immediately upon opening the terminal.
Additionally, our data collection process involves launching a new PowerShell instance for each script, which significantly compounds the CPU load and severely impacts server performance.
We have turned off AV to test and same issue 

  • Hello Khaled,

    Monitoring Windows servers with PowerShell in SL1 will have an impact, depending on the resources on the end device. If manually opening a PowerShell terminal causes the CPU to spike, then it is expected the same would occur when SL1 attempts to collect data via PowerShell. 

    As this is not an issue with SL1 specifically, please work with the server administrator or the vendor to resolve the CPU utilization issue.

    Antonio Andres

    Principal Technical Support Engineer | ScienceLogic

4 Replies

  • Hello Khaled,

    Are you saying that every time SL1 launches a PowerShell instance on a Windows server, the Windows server CPU spikes to 100%, or are you manually opening a PowerShell terminal directly on the server?

    Antonio Andres

    Principal Technical Support Engineer | ScienceLogic

  • Hi Tony,

    Thank you for your response, I appreciate it.

    When I manually launch a PowerShell terminal I can see the CPU spikes on the device.  I have high CPU utilisation on the server and I am trying find out if it is the the PS scripts causing it when SL is trying to collect data. When I tried to manually test it I found that even launching the PS terminal the CPU spikes to 100%.

    Thank you, 

    Khaled 

  • Hello Khaled,

    Monitoring Windows servers with PowerShell in SL1 will have an impact, depending on the resources on the end device. If manually opening a PowerShell terminal causes the CPU to spike, then it is expected the same would occur when SL1 attempts to collect data via PowerShell. 

    As this is not an issue with SL1 specifically, please work with the server administrator or the vendor to resolve the CPU utilization issue.

    Antonio Andres

    Principal Technical Support Engineer | ScienceLogic

    • Khaled's avatar
      Khaled
      Icon for Participant rankParticipant

      Hi Tony, 

      Thank you for your input that was helpful. 

      Thank you 

      Khaled