Solved

Shared folder access timeout in Remote Web Access

Posted on 2016-09-08
4
58 Views
Last Modified: 2016-09-12
Over the last few weeks, intermittently, I have had to use the IISRESET /stop /start commands to allow access to shared folders via RWA.

The symptom, which is always resolved by the restart, is as below:

"An unexpected error occurred. Please try again. If the problem continues, contact the person who manages your server."

I would like to know if there is anything in particular to check to see why this has started happening?

Thanks,
0
Comment
Question by:David_J_G
  • 2
  • 2
4 Comments
 
LVL 26

Expert Comment

by:Dan McFadden
ID: 41790922
Can you look thru the Application Event Logs to see if there are any correlating errors that can shed more light on what may be happening?

Dan
0
 

Author Comment

by:David_J_G
ID: 41791476
OK, this is clearly a memory issue but I don't understand why it has only recently started happening and an IISRESET temporarily clears it:

WebHost failed to process a request.
 Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/6044116
 Exception: System.ServiceModel.ServiceActivationException: The service '/Remote/BuiltIns/FS/CopyEngine/ClipboardService.svc' cannot be activated due to an exception during compilation.  The exception message is: Memory gates checking failed because the free memory (711475200 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 (711475200 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: 52612


Any suggestions for me please?
0
 
LVL 26

Accepted Solution

by:
Dan McFadden earned 500 total points
ID: 41791534
This could happened based on increased activity thru the service.  What is happening is that the work process (w3wp.exe) that is supporting the remote access is consuming a significant amount of memory.

- How much RAM is in the server?

If you have http logging enabled, it would be valuable to analyze your logs to look for increases in activity as well as increases in time-taken (to service requests), server-to-client bytes and client-to-server bytes.

Of course an IISRESET clears this issue as the command resets all Application Pools and Sites in IIS, meaning is terminates all IIS child processes and creates new process based on the object configured in IIS.

The error message is telling you what is happening and why.


The exception message is: Memory gates checking failed because the free memory (711475200 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..

Summary:  the load on the server, specifically memory pressure, is causing resource issues for running processes.

You can do a few things:

1. short term fix = set the application pool to automatically recycle at an off-work hour time.  something between 2 to 5 AM.  Though this time is based on your users activity.  What this does is restart the work process that is supporting the http site, which clears any memory reservations associated with the process.

2. med term fix = add more RAM to the server.  Depending on the computer, I would add as much RAM to the server as your budget allows.  This will give the system more breathing room.

3. long term fix = buy a new server.  configure it with as much power (CPU, RAM & Disk) as your budget allows.

Dan
0
 

Assisted Solution

by:David_J_G
David_J_G earned 0 total points
ID: 41791615
Thanks Dan,
I have limited the size of the Microsoft Exchange Information Store as this was consuming anything spare.
I am hoping that Exchange doesn't now grind to a halt!
Time will tell.
David.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SharePoint 2010 external users required to enter domain name 16 43
SBS 2011 6 42
Changing Windows Update Settings 3 38
DHCP Server Service stops on SBS 2011 3 31
Like many organizations, your foray into cloud computing may have started with an ancillary or security service, like email spam and virus protection. For some, the first or second step into the cloud was moving email off-premise. For others, a clou…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now