In SAS Viya 3.5 on Microsoft Windows, the sas-peek metric collector might cause CPU spikes every minute of up to 100% utilization. To eliminate the CPU spikes, implement the following workaround:
- Open an elevated command prompt with administrative privileges:
cd "C:\Program Files\SAS\Viya\bin"
- Manually enter and execute the following commands individually. Do not copy and paste them:
ops-config.exe -base config/application load --values management.metrics.enable.all=false
ops-config.exe -base config/application load --values management.metrics.enable.jvm=true
ops-config.exe -base config/application load --values management.metrics.enable.system=true
ops-config.exe -base config/application load --values management.metrics.enable.tomcat=true
- Stop and then start all SAS Viya services using the SAS Services Manager service in Windows. Do not restart SAS Services Manager. See Start and Stop All Servers and Services for more information about stopping and starting SAS Viya services on Windows.
A fix for this issue is planned for a future software update of SAS Viya 3.5.