RedGate.SqlMonitor.Service.Web.exe Consuming 99% RAM in Version 13.0.41
Erick
Posts: 8 New member
Since I've upgraded SQL Monitor to version 13.0.41, the server keeps running out of available memory. Our resource monitoring tool says it's the "RedGate.SqlMonitor.Service.Web.exe" process consuming all of it. A server reboot is the only thing that fixes it. What's going on with this version? Is it related to the new Indexes tool?
This new Indexes tool is also creating deadlocks in a few of our SQL instances too. It looks like there's no way to turn this preview feature off.
This new Indexes tool is also creating deadlocks in a few of our SQL instances too. It looks like there's no way to turn this preview feature off.
Tagged:
Answers
I tried looking though the documentation for information on the environment variable SQLMONITOR_Indexes and could not find any. But I guess the answer would just be to set it as a system environment variable as you described above and see if it helps. One question though that comes to mind since I run a multi-base monitor setup is would this need to be set on the Web host, the Base host or both? Having to recycle the systems daily now is getting old and if it's due to this new feature, I am happy to disable it.
I can confirm that setting an environment variable,
SQLMONITOR_Indexes
to 0, then restarting the Base Monitor is a supported option to this issue. I will post here as soon as there's another update.I have also received notification of the release of 13.0.43 this morning; however, it appears that release notes have not been published yet. Does 13.0.43 address the stability issue introduced by the Indexes feature?
Redgate team, once you identify the cause of the stability issue with the indexes feature and address it, please let us know so we can confirm.
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?
I'm glad to hear that this may be addressed but I need some clarification on your instructions.
Per the documentation at https://documentation.red-gate.com/sm13/indexes-225607686.html it says the following:
My question is: Has the default behavior reverted back to SQLMONITOR_indexes being enabled by default?
So what it seems you are implying is that we need to just remove the environment variable and it will default to indexes being enabled. So if we still want it disabled we need to keep the environment variable, which conflicts with what the documentation is stating.
Also one other point is that previous instructions said to set the value to 1 or 0 as opposed to on or off. Does it matter?
The default behavior for 13.0.44 is to leave the indexes option disabled. As per documentation, one has to explicitly set the system environment to reenable the indexing feature.
I went ahead and tested using on and off since that's what the documentation says to use. Though I suspect that 1 or 0 would work as well. Just note that I did not test with 1 or 0 for this release given that on and off work. Though I can confirm that a 0 value worked perfectly fine to disable the feature with version 13.0.42.
And now for the stability question. Unfortunately it's still an issue.
After setting the SQLMONITOR_indexes system environment variable on all hosts (both web and base) to a value of on and restarting the service for all hosts, I almost imediatly had the issue with the Overview page stuck on loading again. So I set the value for SQLMONITOR_indexes back to off and restarted once again.
I don't want to discourage other users from testing the feature, which does need to be explicitly set, but my experience unfortunately was negative.
Apologies for the delayed response on this forum post, our development team included several fixes in 13.0.45 aimed at addressing this issue which looks to have worked for the majority of those reporting this feature exhausting memory.
There are still a few who are still seeing higher memory usage but these each look to be slightly different and so we're continuing to investigate these individually, I would encourage anyone else who experiences an issue with memory maxing out after enabling this feature (post 13.0.45) to contact/raise a ticket support directly so we can arrange to look at logs and dump files for diagnosis.
Tom Claringbold | Redgate Software
Have you visited our Help Center?