ASP.NET: IIS Application Pool Crashes

Hello Folks,

I've one application (ASP.NET) running over IIS.

It does crashes once a week due to application pool.

Could you please share possible reasons for crash?

Best Regards,
Mohit Pandit
LVL 6
MohitPanditAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

inxniCommented:
How did you know it's because of application pool?
Do you have error message?
MohitPanditAuthor Commented:
Yes, in event viewer, I got below messages

A process serving application pool 'ApplicationName' exceeded time limits during shut down. The process id was '22345'
A process serving application pool 'ApplicationName' exceeded time limits during shut down. The process id was '11234'.
inxniCommented:
Try increasing Application Pool -> Advance Settings -> Shutdown Time Limit (Default value is 90).
If the problem persist, try looking for some long operations or bug in your software.
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

MohitPanditAuthor Commented:
Is there any tool to find long operations to identify these kind of glitches?
inxniCommented:
Well, you can use a profiler but that needs some setup.
I suggest looking into IIS log first.
Look for Url with
- High Time Takens  (may need extra configuration)
- Error Code that starts with 5; ex. 504
- Url that was called near the time of error

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Kamal KhaleefaInformation Security SpecialistCommented:
try to review your code and make sure every connection with database is open & closed Properly

if you miss once connection open and didn't close it will ends up with hanging your application.


Thanks
MohitPanditAuthor Commented:
thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.