(NAV 2013 R1).
Roughly once a week it seems our NAV Web Client becomes inaccessible. Message shown in Browser is "403: Service Not available".
When this happens only restarting the server completely resolves it.
Looking in the event viewer, I see always the below
Source: ASP.NET4.0.30319.0
Application ID: /LM/W3SCV/2/ROOT
Not Enough Server Storage Is Available to Process This Command
There is about 15GB of hard disk space on the tier server, and it is running with 32GB of RAM. The above sounds like some kind of memory heap not being released or the like. Has anyone experienced similar?
Bruce Anderson0
Comments
KR
LinkedIn
XING
Tier OS: Windows Server 2008 R2 Standard
IIS Version: 7.5.7600.16385
SQL: SQL Server 2012 Standard
Below is the full text of the error log:
----
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/2/ROOT
Process ID: 4780
Exception: System.ComponentModel.Win32Exception
Message: Not enough storage is available to process this command
StackTrace: at MS.Win32.HwndWrapper..ctor(Int32 classStyle, Int32 style, Int32 exStyle, Int32 x, Int32 y, Int32 width, Int32 height, String name, IntPtr parent, HwndWrapperHook[] hooks)
at System.Windows.Threading.Dispatcher..ctor()
at Microsoft.Dynamics.Framework.UI.WindowsThreadingDispatcher.AttachDispatcherToThread()
at Microsoft.Dynamics.Framework.UI.LogicalThread.InitializeDispatcher()
at Microsoft.Dynamics.Framework.UI.LogicalThread.ThreadStart()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Bruce Anderson
LinkedIn
XING
So, IIS is definitely not my area of expertise. But I am guessing the attached is where you mean.
I see a miriad of settings for the applicationpool, like timeout etc that sound like they could help. (Or make the situation worse if I mess with them the wrong way). Or do you mean to just do something to "recycle" here as a test next time this happens, and if so, can you tell me what?
Bruce Anderson
I would just use the "recycle" action and see if this works. The rest looks good so far. If not try to change the ApplicationPoolIdentity to a AD user. I seems that this is a known issue with iis (see also http://stackoverflow.com/questions/3048 ... ailable-to as well as https://connect.microsoft.com/VisualStu ... is-command)
Good luck!!
LinkedIn
XING
Bruce Anderson
But, how can I stop this from happening. DO I need to make the recycling settings make it recycle more often perhaps?
Bruce Anderson