We may have a memory leak in the SQL Base Monitor after 13.0.38
DonFerguson
Posts: 202 Silver 5
(Updated title and content from 13.0.35 to 13.0.38 for better accuracy)
I suspect that a memory leak may have been introduced into the base monitor product around the release of 13.0.38. The symptom I am experiencing is that if a base monitor gets jammed up, it will cause the Overview page to get stuck on loading, nothing updates, it just spins on loading. Recycling all the base monitors and all the web monitors generally resolves the problem. This seems to happen every couple of days or so and to multiple systems in the multibase configuration around the same general timeframe. When this happens we also get alerts indicating that all the free memory is being used, again symptomatic of a memory leak.
I suspect that a memory leak may have been introduced into the base monitor product around the release of 13.0.38. The symptom I am experiencing is that if a base monitor gets jammed up, it will cause the Overview page to get stuck on loading, nothing updates, it just spins on loading. Recycling all the base monitors and all the web monitors generally resolves the problem. This seems to happen every couple of days or so and to multiple systems in the multibase configuration around the same general timeframe. When this happens we also get alerts indicating that all the free memory is being used, again symptomatic of a memory leak.
Tagged:
Answers
Thank you for bringing this to our attention.
Can we get y'all to attempt to add an environment variable for this?
Please set an environment variable
SQLMONITOR_Indexes
to 0, then restart the Base Monitor.Then add the new system variable (under system variables not user variables)
SQLMonitor_indexes and set it with a value of 0
After that restart SQL Monitor Base Monitor
in services.msc
Do that for all hosts that you are running SQL Monitor Base Monitor on.
https://forum.red-gate.com/discussion/90254/redgate-sqlmonitor-service-web-exe-consuming-99-ram-in-version-13-0-41
- On the Windows taskbar, right-click the Windows icon and select System.
- In the Settings window, under Related Settings, click Advanced system settings.
- On the Advanced tab, click Environment Variables.
- Click New to create a new environment variable. Click Edit to modify an existing environment variable.
- After creating or modifying the environment variable, click Apply and then OK to have the change take effect.
** Assuming you have the appropriate permissions to change the environment variables on the machine. **Many thanks for your help and patience on this.
Yesterday our development team released 13.0.44 aimed at addressing the high memory issues (from index sampling) and this can be downloaded here.
Appreciate you may not be able to update immediately but once you have could I please ask you to remove the previously added environment variable, restart services and let us know if you believe this is looking stable again?
Tom Claringbold | Redgate Software
Have you visited our Help Center?
The indexing performance concern has been front of scope for our developers.
V13.0.45 includes some more memory usage fixes for indexes
Can I ask that you patch at your earliest convenience and confirm if this is an ongoing concern for you
Download link:
https://download.red-gate.com/checkforupdates/SQLMonitorWeb/SQLMonitorWeb_13.0.45.30059.exe
Patch notes:
https://documentation.red-gate.com/sm/release-notes-and-other-versions/sql-monitor-13-0-release-notes
Fixes
One observation and a suggestion is that in a multi-base configuration, if just one base monitor is acting up it brings everything down without providing any indication about which base monitor is the problem. So I would suggest that instead of hanging the whole multi-base dashboard up on "Loading...", it might help if it could move on and at least indicate which base monitor is causing the issue.
I'm really sorry the issue with high CPU has persisted for you despite updating. Have sent you a message from an internal support ticket to arrange gathering some additional information for our development team to investigate why the issue looks to persist for you.
Tom Claringbold | Redgate Software
Have you visited our Help Center?
Apologies for the delayed response, have just opened an internal ticket and will be in contact shortly to investigate this with you.
Tom Claringbold | Redgate Software
Have you visited our Help Center?