闲置10-20分钟后应用程序挂起。 [英] Application hang when leave idle for 10-20 minutes.

查看:111
本文介绍了闲置10-20分钟后应用程序挂起。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

当我们让应用程序闲置10-20分钟时,我的ASP.NET应用程序就会挂起。

我已经设置了它的空闲时间但我的问题还没有解决。

任何人都可以帮我解决这个问题吗?

Hi All,
My ASP.NET application hang when we leave the application idle for 10-20 minutes.
I have already set its idle time but my problem has not been solved.
Can any one help me to solve this issue?

推荐答案

申请大概30-40响应秒。我正在使用fiddler检查响应问题,然后我发现tcp / ip需要时间来连接或响应。你能告诉我为什么tcp / ip花时间连接?



可能连接已超时,已断开连接。必须重新建立包括查找等在内的整个连接序列,但在尝试重新连接之前,延迟很可能是在等待另一端无法响应。



您可以尝试通过定期聊天测试来保持连接活动吗?
"Application take approximate 30-40 seconds to respond. I was using fiddler to check responding issue, then i found that tcp/ip take time to connect or respond.Can you tell me why tcp/ip taking time to connect?"

Probably, the connection has timed out, and been disconnected. The whole connection sequence including lookup, etc., has be be re-established, but the delay is most likely to be in waiting for the other end to fail to respond before trying to re-connect.

You could try keeping the connection alive with periodic "chat tests"?


这篇关于闲置10-20分钟后应用程序挂起。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆