cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tbal
Engaged Sweeper II
Hi,

We have started to use lansweeper and even during none scanning hours (we use Subnet scanning for our server networks and clients access with the client) we have high CPU usage almost always. We have it hosted in azure with 2 CPUs and it takes 1 of the cores and uses it 100% for most part of the time and sometimes even goes up to 90% use overall.

This has of course made Lansweeper quite slow in the interface etc as well but we don't understand why, we have 535 assets and we are 3 people logged in to the interface at most (usually not even 1).

CPU alarms are coming even on weekends when noone is working here.

How can we troubleshoot this? I don't see giving it more CPU really as a fix.
1 REPLY 1
Esben_D
Lansweeper Employee
Lansweeper Employee
CPU usage really depends on a lot of factors. The biggest ones are:
  • Amount of asset scanned at the same time.
  • Amount of scanning threads configured (Configurable in Configuration\Server Options)
  • Amount of extra scanning items configured (custom file scanning and registry scanning)
  • Amount of data scanned for Widows items ( https://www.lansweeper.com/kb/115/managing-how-often-specific-data-is-scanned.html )
  • Amount of queries being run
  • Amount of emails being processed
As a starting point, I would go through this knowledgebase article to clean up your database which can help: https://www.lansweeper.com/kb/147/clearing-tables-to-free-up-space-and-improve-performance.html

If it doesn't help, I would start looking at the other items I've listed and checking which one might be causing the issue.