Submit a ticketCall us

Systems Monitoring for Dummies
Our new eBook will teach you the fundamentals and help you create monitors and alerts that are effective, meaningful, and actionable. Monitoring is more than a checkbox on your to-do list. This free eBook will give you practical advice to help you succeed in all aspects of monitoring – discovery, alerting, remediation, and troubleshooting. Don’t miss out on this indispensable resource for newbies, experienced IT pros, and everyone in between. Register Now.

Home > Success Center > Storage Manager (STM) > SRM Profiler Administrator Guide > Advanced configuration of SRM Profiler > Increase memory for SRM Profiler services

Increase memory for SRM Profiler services

Updated: June 16, 2017

To increase memory for your SRM Profiler server services, SRM Profiler agents or SRM Profiler proxy agents, you must increase the Java Max Memory value.

Increasing Java memory is done by updating the –Xmx value within its respective configuration file.

Java uses the –Xmx value to define the largest allowable size of the heap. Heap is the total memory allocation used by the Java Virtual Machine and –Xmx defines the maximum amount of memory that Java can use for that service.

You can adjust memory setting for the following SRM Profiler services:

SRM Profiler services retain the original SolarWinds Storage Manager names.

  • Storage Manager Collector
  • Storage Manager Agent or Proxy Agent
  • Storage Manager Event Receiver
  • Storage Manager Poller
  • Storage Manager Maintenance
  • Web Server Memory
  • Database Memory Settings

Adjust memory settings for Storage Manager Collector

If you are running a large amount of SRM Profiler proxy agents, or if your environment switches from small to medium or large, it may be necessary to adjust the memory settings for the Storage Manager Collector Service.

The Storage Manager Collector Service is responsible for handling the collection of data from SRM Profiler proxy agents. The Storage Manager Collector service also acts as a local data collector/agent. The default maximum memory value in a small environment for the Storage Manager Collector service is 1024m. If you need to adjust this value due to a larger polling environment, this section explains how.

  1. Stop the collector service for SRM Profiler server.
    • For Windows, run the Windows application services.msc and look for a service called SolarWinds Storage Manager Collector and stop the service.
    • For Linux, SSH to the SRM Profiler server using an account that has root privileges and run the following command: /etc/init.d/storage_manager_server stop collector
  2. Locate the collector configuration file. The Java memory settings are located in this file.
    • For Windows the file will be located in the <installed drive>\Program Files\SolarWinds\Storage Manager Server\webapps\ROOT\bin sub directory. File name is SolarWinds.Storage.Collector.ini.
    • For Linux the file will be located in the <installed path> /Storage_Manager_Server/bin sub directory. File name is collector.sh.
  3. Using a text editor, open the file. Once you have opened the file search for the –Xmx value and adjust it to a higher value that fits your environment according to the sizing chart below.
    • Example: -Xmx4096m for a medium environment
  4. Save the file and start the collector service.
    • For Windows run the Windows application services.msc and look for a service called SolarWinds Storage Manager Collector and start the service.
    • For Linux, SSH to the SRM Profiler server using an account that has root privileges and run the following command: /etc/init.d/storage_manager_server start collector

Sizing Chart for SRM Profiler Collector Service:

Environment Size

Medium

Large

Memory

4096m

8192m

Note: Linux is the recommended platform for SRM Profiler server when monitoring large environments.

** For environment size specifications see Small, medium, large environments

Adjust memory settings for SRM Profiler agent or SRM Profiler proxy agent

  1. Stop the agent service for SRM Profiler agent or proxy agent.
    • For Windows run the Windows application services.msc and look for a service called SolarWinds Storage Manager agent Service. Stop the service.
    • For Linux, SSH to the SRM Profiler server using an account that has root privileges and run the following command: /etc/init.d/storage_manager_agent stop
  2. We must now find the location of the file that contains the memory settings.
    • Windows the file will be located in the <installed drive>\Program Files\SolarWinds\Storage Manager Agent sub directory. The file name will be SolarWindsStorage.Agent.ini.
    • For Linux, migrate to the /etc/init.d sub directory and using a text editor, open the file called storage_manager_agent.
  3. Using a text editor, open the file. Once you have opened the file search for the –Xmx value and adjust it to a higher value that fits your environment per the SRM Profiler Manager proxy agent deployment table.
    • Example: -Xmx4096M for a medium environment.
  4. Save the file and start the agent service.

    You can turn off Performance Reporting and Real Time Status for improved performance of SRM Profiler proxy agents.

    • For Windows run the Windows application services.msc and look for a service called SolarWinds Storage Manager agent Service. Start the service.
    • For Linux, SSH to the SRM Profiler server using an account that has root privileges and run the following command: /etc/init.d/storage_manager_agent start

Adjust memory settings for Storage Manager Event Receiver

If you are running a large amount of SRM Profiler agents, it may be necessary to adjust the memory settings for the Storage Manager Event Receiver Service.

The Storage Manager Event Receiver Service is responsible for receiving traps being sent from SRM Profiler agents. The default maximum memory value in a small environment for the Storage Manager Event receiver is 1GB. Most of the time this value is sufficient for the SRM Profiler server yet if you need to adjust this value, this section explains how.

The Storage Manager Event Receiver configuration file can be found in the following locations:

Windows

  1. Go to the <installed drive>\Program Files\SolarWinds\Storage Manager Server\webapps\ROOT\bin
  2. Using a text editor, open the file SolarWinds.Storage.EventReceiver.ini
  3. Look for param02=-Xmx1024m and modify it to a value that fits your environment per the Sizing Chart below.
    • Example: Medium environment will be param02= -Xmx4096m
  4. Save the file and restart the SolarWinds Storage Manager Event Receiver service via services.msc.

Linux

  1. Go to the <installed path>/Storage_Manager_Server/bin directory.
  2. Using a text editor open the file eventreceiver.sh.
  3. Look for –Xmx and modify it to a higher value that fits your environment according to the Sizing Chart below.
    • Example: -Xmx4096m for a medium environment
  4. Save the file and restart the Storage Manager Event Receiver service using the command /usr/bin/storage_manager_server restart eventreceiver

Sizing Chart for Storage Manager Event Receiver:

Environment Size

Medium

Large

Memory

4096m

4096m

For environment size specifications see Small, medium, large environments

Adjust memory settings for Storage Manager Poller

If you are monitoring a large amount of Fibre Channel Switches or other devices that are polled using SNMP or devices such as EMC Celerra, MS-SQL, or Oracle which do not use SNMP, it may be necessary to adjust the memory settings for the Storage Manager Poller Service.

The Storage Manager Poller Service is responsible for monitoring devices that use SNMP. It also polls EMC Celerra, MS-SQL, and Oracle which do not use SNMP. The default maximum memory value in a small environment for the SRM Profiler Poller is 512MB. Most of the time this value is sufficient for the SRM Profiler server yet if you need to adjust this value, this section explains how.

The SRM Profiler Poller configuration file can be found in the following locations:

SRM Profiler server - Windows

  1. Go to the <installed drive>\Program Files\SolarWinds\Storage Manager Server\webapps\ROOT\bin
  2. Using a text editor, open the file SolarWinds.Storage.Poller.ini
  3. Look for param02=-Xmx512m and modify it to a value that fits your environment per the sizing chart below.
    • Example: Medium environment will be param02=-Xmx2048m
  4. Save the file and restart the SolarWinds SRM Profiler Poller service via services.msc.

SRM Profiler server - Linux

  1. Go to the <installed path>/Storage_Manager_Server/bin directory.
  2. Using a text editor open the file poller.sh.
  3. Look for –Xmx and modify it to a value that fits your environment according to the sizing chart below.
    • Example: –Xmx2048m for a medium environment
  4. Save the file and restart the Storage Manager Poller service using the command /usr/bin/storage_manager_server restart poller

Sizing Chart for SRM Profiler Poller Service:

Environment Size

Medium

Large

Memory

2048m

4096m

For environment size specifications see Small, medium, large environments

Adjust memory settings for Storage Manager Maintenance Service

If you have a large database, it may be necessary to adjust the memory settings for the Storage Manager Maintenance Service.

The Storage Manager Maintenance Service is responsible for performing maintenance on the database by running the rollup and cleanup scripts. The default maximum memory value in a small environment for the Storage Manager Maintenance is 512MB. Most of the time this value is sufficient for the SRM Profiler server yet if you need to adjust this value, this section explains how.

The Storage Manager Maintenance configuration file can be found in the following locations:

SRM Profiler Server - Windows

  1. Go to the <installed drive>\Program Files\SolarWinds\Storage Manager Server\webapps\ROOT\bin
  2. Using a text editor, open the file SolarWinds.Storage.Maintenance.ini
  3. Look for param02=-Xmx512m and modify it to a value that fits your environment per the sizing chart below.
    • Example: Medium environment will be param02=-Xmx2048m
  4. Save the file and restart the SolarWinds Storage Manager Maintenance service via services.msc.

SRM Profiler Server - Linux

  1. Go to the <installed path>/Storage_Manager_Server/bin directory.
  2. Using a text editor open the file Maintenance.sh.
  3. Look for –Xmx and modify it to a value that fits your environment according to the sizing chart below.
    • Example: –Xmx2048m for a medium environment
  4. Save the file and restart the Storage Manager Maintenance service using the command /usr/bin/storage_manager_server restart maintenance.

Sizing Chart for Storage Manager Maintenance Service

Environment Size

Medium

Large

Memory

2048m

4096m

For environment size specifications see Small, medium, large environments

Increase web server memory

Most of the time, Web Server memory will not need adjusting. When SRM Profiler is initially installed it will check the specifications of the server and adjust itself given the resources provided. If you must adjust the memory settings for the Web Server Service, this section will explain how.

Windows

  1. Open a Windows command prompt to <installed drive>\Program Files\SolarWinds\Storage Manager Server\bin directory.
  2. Run the following command: SolarWinds.Storage.WebServicew.exe //RS//SWStmWebServerSvc
  3. This will open a Web Services Properties GUI. On the Java tab increase the Max Memory Pool to a higher value that fits your environment per the Sizing Chart below.

    File:Success_Center/Reusable_content_-_InfoDev/SRM_Profiler/Increase_Memory_for_SRM_Profiler_Services/03000036_289x275.png

  4. Restart the SolarWinds Storage Manager Web Services via services.msc.

Linux

Linux uses a startup script for changing Web Server Service memory settings. The script is called webserver.sh. The script will be located in the <installed path> /Storage_Manager_Server/bin/ directory. Using a text editor open the file webserver.sh. The line that needs to be configured in this script is JAVA_OPTS="-XX:MaxPermSize=256M -Xmx512M" Increase the –Xmx value and modify it to a value that fits your environment according to the sizing chart below.

  • Example: –Xmx4096m for a medium environment

This will increase the maximum memory allocated to the Web Server Service. Next save the file and restart the SRM Profiler Web Service by typing the command /usr/bin/storage_manager_server restart webserver.

Sizing Chart for SRM Profiler Web Server:

Environment Size

Medium

Large

Memory

4096m

8192m

For environment size specifications see Small, medium, large environments

 

 

Last modified

Tags

Classifications

Public