当前位置: 动力学知识库 > 问答 > 编程问答 >

WCF ServiceHost gets restarted unexpectedly everyday at 1pm

问题描述:

My WCF Web Service is hosted by IIS 7 in WinServer 2008. I configured the AppPool to recycle at 1am and 8pm, but not 1pm, though the ServiceHost is restarted every day 1pm according to WCF service trace.

AppPool Configuration

It doesn't always cause issues, when it takes only about 1 minute to restart. But it sometimes takes around 30 minutes to restart, which causes connection timeout error in client side.

Trace for restarting causing timeout error

I checked windows event log, there's recycling log for app pool restarting at 1 am and 8 pm but never 1 pm. I do understand App Pool restarts in some error situations, but it doesn't seem to apply in my situation. It seems that it's a configuration somewhere which I'm oblivious at. Please help.

分享给朋友:
您可能感兴趣的文章:
随机阅读: