Applications Systems

Increase WPM worker processes

The number of worker processes may be changed using the SolarWinds.SEUM.Agent.Service.exe.config file. This can be increased when the player is high load percentage. No worker process available.

First published date

10/25/2018 4:03 PM

Last published date

4/27/2023 7:07 AM

Overview

Transactions may intermittently fail on the Player location. If you investigate the AgentService log (C:\ProgramData\SolarWinds\Logs\SEUM\AgentService.log) you will find similar error messages

ERROR SolarWinds.SEUM.Agent.WorkerProcessManagement.WorkerMonitor - Attempt to process jobs on errored or non existing worker process failed
SolarWinds.SEUM.Agent.Exceptions.WorkerNotAvailableException: No worker process available
at SolarWinds.SEUM.Agent.WorkerProcessManagement.WorkerProcess.MakeCall[T](Func`1 methodCall)
at SolarWinds.SEUM.Agent.WorkerProcessManagement.WorkerProcess.GetHeartBeatValue()
at SolarWinds.SEUM.Agent.WorkerProcessManagement.WorkerMonitor.ProcessWorkerProcess(Guid workerId)



The number of worker processes may be changed using the SolarWinds.SEUM.Agent.Service.exe.config file.

This can be used for where the WPM Player Load is at, near, or over 100%. By default, on the Orion Server, there is 2 worker processes where the default on other players in 7 by default. Increasing the number can reduce the percentage as there's more workers available.

Product section

Web Performance Monitor

Resolution

WPM 3.0 to WPM 2023.1

Warning: SolarWinds strongly recommends that you only edit the SolarWinds.SEUM.Agent.Service.exe.config file as instructed. Any additional modifications to this file may result in system performance issues or may create an error state. 

  1. Stop the WPM Player service.
  2. Navigate to the WPM installation folder. The default location is C:\Program Files (x86)\SolarWinds\Orion\SEUM\Player.
  3. Create a backup of the SolarWinds.SEUM.Agent.Service.exe.config file, in case you need to rollback later.
  4. Open the SolarWinds.SEUM.Agent.Service.exe.config file in a text editor (Recommended: first launch notepad as administrator, then navigate to the config file).
  5. Locate the <agentConfiguration> element.
  6. Change the attribute numWorkerProcesses="7" (where  is the number of preferred worker processes up to a max of 15).

    Note: On remote players, the default number of worker processes is 7. On the Primary Orion Poller, the default number is 2.

    Note: If the numWorkerProcesses attribute is not present, simply add it to the <agentConfiguration> tag. Example of section:

      <agentConfiguration numWorkerProcesses="7">
      </agentConfiguration>

     

  7. Save the changes and start the WPM Player service.

WPM 2023.2 and later

The parameter for 'numWorkerProcesses' has been moved to AgentSettings.dat file in C:\ProgramData\SolarWinds\SEUM\Data

image.png

Simply change the number to your desired value
Then restart the WPM Player Service