AppPool automatically restarting

Okay, so a bit of in-depth digging has come up with a result.

Remoting into the machine that is hosting the Epicor app servers, Ifound that the w3wp process ID (PID) was constantly changing, meaning the App Pool was being recycled every couple of minutes.

We had a look into the Event Viewer, and found that we were having the same 3 errors each time the app pool was being recycled - the most significant of which was an OutOfMemory Exception, at a StringBuilder.ToString(), preceded by a _____________. There was no filepath given that I could find, so I dug around.

I got to a folder in "...EpicorData\Log\pe", that had an abnormally large pelog and pelogPostInfo file. My manager let Epicor support know, and they got back to him relatively quickly with instructions on how to clear the pelog.

In Financial Management --> General Ledger --> General Operations, there is a menu item called "PE Log Viewer". Opening this form, there is a tab named Settings. Clear as day, there is a button called Clear PE File. This then saves the pelog file with an extension that follows .MM_DD_YY as the file extension.

After this, we were able to successfully add lines to an invoice, and post it.

Hope this helps someone.

Cheers,

Dave.
 

Hey all,


In need of some help on this one, and I'll be honest, I haven't started an in-depth google session with the hopes someone has once dealt with and fixed this issue.


For some reason, when adding in receipt lines to an invoice, it takes a long while, and during the time, it keeps on recycling the app pool for the system - then it fails out after about 20 minutes or so saying Socket timeout of 02:00:00 reached, and doesn't add the lines (obviously because recycling the app pool while doing an operation loses the information).


If anyone has any advice that would be greatly appreciated, about to google away and run the performance tool to see if that may show any hidden issues.


Please also note that the server IIS configuration is to recycle only at 01:00AM, and is not set to recycle based on private memory usage or at a scheduled interval other than the aforementioned time.


Cheers,


Dave.