Azure服务器收到错误消息“系统缺少足够的缓冲区空间,或者因为队列已满Ip". [英] Azure server got error "system lacked sufficient buffer space or because a queue was full Ip"

查看:200
本文介绍了Azure服务器收到错误消息“系统缺少足够的缓冲区空间,或者因为队列已满Ip".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将我的项目托管在Asp.net MVC的azure服务器上,并且使用了azure sql,它的工作正常,但是执行任何操作的次数却很多,例如,当从控制器调用fire时,它会给出类似错误的信息,

因为系统缺少足够的缓冲区空间或队列已满Ip,所以无法在套接字上执行操作"

几分钟后,它开始正常工作, 谁能告诉我为什么会抛出此错误,或者对此有任何解决方案?

解决方案

这很可能是客户端问题(ASP.Net应用程序端).如果您同时进行大量套接字连接或未正确处理连接,则可能会发生这种情况.请仔细检查您的应用程序,并确保:

  1. 您正确关闭了所有数据库连接(使用using()或调用Dispose()).
  2. 您正确地关闭了任何其他套接字连接(如果有).

如果您的代码很好,则可以尝试使用

and after few minutes its starts to work fine, can anyone tell me why this error is throwing or is there any solution for this??

This is most probably client side issue (ASP.Net app side). This could happen if you do A LOT of simultaneous socket connections or do not dispose connections properly. Please double check your application and make sure that:

  1. You properly close all database connections (use using() or call Dispose()).
  2. You properly close any other socket connection (if any).

If your code is fine, you can try to use Transient Fault Handling App Block. It won't solve the issue itself but could help your app to workaround it.

这篇关于Azure服务器收到错误消息“系统缺少足够的缓冲区空间,或者因为队列已满Ip".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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