Link to home
Start Free TrialLog in
Avatar of stratserv
stratservFlag 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).
Avatar of David Atkin
David Atkin
Flag of United Kingdom of Great Britain and Northern Ireland image

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
Avatar of 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
Avatar of David Atkin
David Atkin
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'll give this a try as soon as I can get back to that server.
No worries, let us know the outcome.
Will be at the client to work on this today.
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.
Great news. Glad you got your problem resolved.