异步 Web 服务调用似乎停止被处理,但远程调试器显示其他情况
我触发了大约 2k 个异步服务调用,通常总共需要大约 30 个调用才能完成。虽然有时它们会卡住(当请求当前计数不减少时,在性能计数器、asp.net、当前请求上可见),但如果我附加远程调试器,Web 服务似乎会按照我的预期被调用,但永远不会停止被召唤。我可以保证我是唯一使用这项服务的人,我怎样才能知道这里发生了什么?
这是一个间歇性问题,大约每 5 次尝试就会发生一次。
I fire off about 2k async we service calls that usually take about a 30 to complete in total. Though sometimes they get stuck (visible on performance counter, asp.net, Requests Current when the requests current count does not decrease), if I attach a remote debugger, the web service appears to be being called as I would expect, though never stops being called. I can guarantee I am the only one using this service, how can I find out what is going on here?
This is an intermittent problem, happened about once every 5 attempts.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事实证明这是 NpgSql 连接池的一个错误。最新版本已修复。
Turns out this was a bug with NpgSql Connection pooling. It is fixed in the latest version.