<div dir="ltr">I think I recall having to set my recycle limits on the AppPool for stability from errors in Mapguide as well.<div>Fiddle Fiddle Fiddle with different setting until things calm down.<br><div><br></div><div>I think they could be set by memory size (as you've done) or after a certain time. I believe I set my Win2008R2 Server to recycle every 2 hours.</div>
<div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 9, 2014 at 9:42 AM, Berg, James <span dir="ltr"><<a href="mailto:James.Berg@stantec.com" target="_blank">James.Berg@stantec.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I struggle with events related to mapguide because I don't really understand them. Several times a day we get logs like<br>

<br>
"A process serving application pool 'MapGuide25AppPool' suffered a fatal communication error with the World Wide Web Publishing Service. The process id was '17544'. The data field contains the error number. "<br>

<br>
with the source being W3SVC. W3svc.exe is the process related to the application pool in IIS that represents the website that holds mapguide.<br>
<br>
It's tricky for me to figure out what the cause of the errors are. It could be a memory leak in my own application (fairly likely,) so I can't blame mapguide for it off the bat.<br>
<br>
Basically, whenever my application pool fails, maps stop loading until I manually recycle the application pool. Without knowing the exact cause, the only workaround I've come up with is to configure my application pool to automatically recycle whenever it accumulates a certain amount of virtual memory. I've got it set to recycle at 800 megabytes, but I might decrease that number if problems persist.<br>

<br>
The hope is that frequent recycling will prevent errors.<br>
<br>
It's also important to note that my application does not use InProc session handling in web.config. That's the default setting and application pool recycling would reset any sessions (very bad.)  Instead I use the StateServer setting. That way session aren't reset upon application pool resets.<br>

_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</blockquote></div><br></div>