Solved

Shared folder access timeout in Remote Web Access

Posted on 2016-09-08
4
42 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 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

16 Experts available now in Live!

Get 1:1 Help Now