Solved

Shared folder access timeout in Remote Web Access

Posted on 2016-09-08
4
88 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 28

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 28

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
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 shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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