Reputation: 195
When the application is being used all the time, the responses seem to be much faster.
For example, if you have active users in the application, making requests to the server, when I access the application, i am instantly taken to the login screen, but if no one has used it for a certain period of time, it seems that the server is hibernating for have no activity and takes too long to answer.
Is this kind of problem normal, because no one is using it or do I have to make a configuration on the server or in the code to solve this?
am the .net fremawork 4.6.1
Upvotes: 0
Views: 768
Reputation: 21033
Sounds like IIS is putting recycling the application to free resources, you can change the timeout and recycling policy like so:
In order to cancel IIS Timeout and recycling, follow these steps:
Cancel Idle Time-out:
Cancel IIS Recycling :
Then just Restart the IIS
Upvotes: 1