04-18-2023, 01:30 PM
(04-18-2023, 06:04 AM)Alexandre Machado Wrote: I think the main cause of all your problems is the session timeout, no? Why do you let it happen?
Regarding this
>> Ans also, is there any way to get more logs to see why the IIS is restarting the process?
I suspect it is recycling the application pool. You can configure it and add some conditions to the recycling.
I particularly like this option more than the default to recycle at fixed intervals
Shouldn't be timeout, as I'm setting it like:
IWServerController.SessionTimeout := 20;
Or should it be this instead? -
WebApplication.SessionTimeOut := 20;
But yes, it could just be IIS. Probably not recycling, though - that's 20min by default, it was happening far too frequently. But I did have 2 worker processes configured here, was testing something else, so now that I brought it down to the default 1, I could not reproduce this issue easily anymore, still testing...