Avatar of stratserv
stratserv
Flag for United States of America asked on

Source: System>serviceModel 4.0.0.0 ID 3 /Remote/BuiltIns/HomePage/GadgetDnD/GadgetDnDService.svc - Memory gates checking failed

Client's server is SBS 2011.  Since they had Remote Web Access on a previous server, they asked for access for a single user on this server.  When the user goes to the Computers section and hits the "Connect" button, nothing happens, but the Event VIewer is filled with these error messages.  The server has 32 GB of memory.  The old server had only 16 GB memory and this service was apparently working well.  Obviously a configuration issue, but my web searches have not so far been helpful.  The last time I worked with SBS was 2003 and I am extremely rusty (and wishing I had never taken on this particular customer).
SBS

Avatar of undefined
Last Comment
David Atkin

8/22/2022 - Mon
David Atkin

Hello,

You said that they were using another server for remote web access?  Was this a server installed with the Remote Desktop Gateway role or was this just a server with direct RDP?

Can you upload the error messages that you are getting.

A good start would be to run the Fix My Network wizard from within the SBS Console.
SBS Console> Network Tab> Connectivity sub tab> click the 'Fix My Network' wizard from the right hand side.
Report back any errors / warning its states.

In addition - I would run download and install the SBS Best Practice Analyser and run a scan to search for potential errors.
https://support.microsoft.com/en-us/kb/2673284
stratserv

ASKER
Log Name:      Application
Source:        System.ServiceModel 4.0.0.0
Date:          7/28/2015 5:31:01 PM
Event ID:      3
Task Category: WebHost
Level:         Error
Keywords:      Classic
User:          NETWORK SERVICE
Computer:      CKDSERVER01.cheryldavid.local
Description:
WebHost failed to process a request.
 Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/12547953
 Exception: System.ServiceModel.ServiceActivationException: The service '/Remote/BuiltIns/HomePage/GadgetDnD/GadgetDnDService.svc' cannot be activated due to an exception during compilation.  The exception message is: Memory gates checking failed because the free memory (1360703488 bytes) is less than 5% of total memory.  As a result, the service will not be available for incoming requests.  To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.. ---> System.InsufficientMemoryException: Memory gates checking failed because the free memory (1360703488 bytes) is less than 5% of total memory.  As a result, the service will not be available for incoming requests.  To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.
   at System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64& availableMemoryBytes)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CheckMemoryCloseIdleServices(EventTraceActivity eventTraceActivity)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
   --- End of inner exception stack trace ---
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
   at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)
 Process Name: w3wp
 Process ID: 22316Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="System.ServiceModel 4.0.0.0" />
    <EventID Qualifiers="49154">3</EventID>
    <Level>2</Level>
    <Task>5</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-07-28T21:31:01.000000000Z" />
    <EventRecordID>34450</EventRecordID>
    <Channel>Application</Channel>
    <Computer>CKDSERVER01.cheryldavid.local</Computer>
    <Security UserID="S-1-5-20" />
  </System>
  <EventData>
    <Data>System.ServiceModel.ServiceHostingEnvironment+HostingManager/12547953</Data>
    <Data>System.ServiceModel.ServiceActivationException: The service '/Remote/BuiltIns/HomePage/GadgetDnD/GadgetDnDService.svc' cannot be activated due to an exception during compilation.  The exception message is: Memory gates checking failed because the free memory (1360703488 bytes) is less than 5% of total memory.  As a result, the service will not be available for incoming requests.  To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.. ---&gt; System.InsufficientMemoryException: Memory gates checking failed because the free memory (1360703488 bytes) is less than 5% of total memory.  As a result, the service will not be available for incoming requests.  To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.
   at System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64&amp; availableMemoryBytes)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CheckMemoryCloseIdleServices(EventTraceActivity eventTraceActivity)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
   --- End of inner exception stack trace ---
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
   at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)</Data>
    <Data>w3wp</Data>
    <Data>22316</Data>
  </EventData>
</Event>


This is a fresh install on new hardware.  Old server no longer exists, but it was also SBS 2011.  They had hardware failures and their IT guy disappeared.  We are batting clean up.  No documentation.  Lots of mysteries.
ASKER CERTIFIED SOLUTION
David Atkin

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
stratserv

ASKER
I'll give this a try as soon as I can get back to that server.
Your help has saved me hundreds of hours of internet surfing.
fblack61
David Atkin

No worries, let us know the outcome.
stratserv

ASKER
Will be at the client to work on this today.
stratserv

ASKER
Worked like a charm.  I had handled the connectivity issue for a single user with a VPN client (better in that case anyway), but having this available for folks on vacation, etc. will make the customer very happy.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
David Atkin

Great news. Glad you got your problem resolved.