解决unable to connect() to node Connection timed out uWSGI listen queue of socket full !!! hr_instance

先看uwsgi的日志报的错误吧:

[uwsgi-http] unable to connect() to node "127.0.0.1:21887" (0 retries): Connection timed out
[uwsgi-http] unable to connect() to node "127.0.0.1:21887" (0 retries): Connection timed out
Wed Dec 14 16:45:00 2022 - *** uWSGI listen queue of socket "127.0.0.1:21887" (fd: 3) full !!! (4097/4096) ***
Wed Dec 14 16:45:01 2022 - *** uWSGI listen queue of socket "127.0.0.1:21887" (fd: 3) full !!! (4096/4096) ***
[uwsgi-http key: 10.22.22.23:80 client_addr: 10.22.19.14 client_port: 64616] hr_instance_read(): Connection reset by peer [plugins/http/http.c line 646]

看这个报错信息,说的是:本地服务在接到web请求后,发生http请求堆积,原因是无法快速处理发来的请求,而服务本身在接到http请求后,去处理请求的逻辑,链接其他服务【我这里是连mongo库】无法建立链接,我查看了本服务连的库和其他中间件,并用telnet 进行了测试,都没有问题,后来,到mongo的服务器上看了一下磁盘,满了,问题找到了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值