neutron-server Connection pool is full, discarding connection 连接池过满
2024-08-28 20:18:42
参考链接:https://zhiliao.h3c.com/Theme/details/48291
问题:
-- ::33.235 WARNING requests.packages.urllib3.connectionpool [-] Connection pool is full, discarding connection: 10.95.134.176
-- ::36.470 WARNING requests.packages.urllib3.connectionpool [-] Connection pool is full, discarding connection: 10.95.134.176
-- ::46.237 WARNING requests.packages.urllib3.connectionpool [-] Connection pool is full, discarding connection: 10.95.134.176
-- ::48.002 WARNING requests.packages.urllib3.connectionpool [-] Connection pool is full, discarding connection: 10.95.134.176
-- ::48.334 WARNING requests.packages.urllib3.connectionpool [-] Connection pool is full, discarding connection: 10.95.134.176
-- ::50.551 WARNING requests.packages.urllib3.connectionpool [-] Connection pool is full, discarding connection: 10.95.134.176
-- ::57.655 WARNING requests.packages.urllib3.connectionpool [-] Connection pool is full, discarding connection: 10.95.134.176
-- ::59.032 WARNING requests.packages.urllib3.connectionpool [-] Connection pool is full, discarding connection: 10.95.134.176
-- ::59.420 WARNING requests.packages.urllib3.connectionpool [-] Connection pool is full, discarding connection: 10.95.134.176
-- ::02.280 WARNING requests.packages.urllib3.connectionpool [-] Connection pool is full, discarding connection: 10.95.134.176
-- ::03.644 WARNING requests.packages.urllib3.connectionpool [-] Connection pool is full, discarding connection: 10.95.134.176
解决方法:
经确认compute容器下默认的连接池参数“DEFAULT_POOLSIZE”是10,可以修改为1000。该参数需要固化。
配置文件的路径为:/usr/lib/python2.7/site-packages/requests/adapters.py
from .exceptions import (ConnectionError, ConnectTimeout, ReadTimeout, SSLError,
ProxyError, RetryError)
from .auth import _basic_auth_str DEFAULT_POOLBLOCK = False
DEFAULT_POOLSIZE =
DEFAULT_RETRIES = class BaseAdapter(object):
最新文章
- 【web前端学习部落22群】分享 碰撞的小球开源小案例
- WinForm中WebBrowser的使用
- 【Debian】非法关机后无法联网 connect: network is unreachable
- JAVA学习博客---2015-8
- Atitit. 获取cpu占有率的 java c# .net php node.js的实现
- Position、Float
- Ubuntu安装Eclips for C/C++及相关配置
- jsp网站与discuz论坛用户同步
- Git for Windows
- 读书笔记-----Java并发编程实战(一)线程安全性
- 尺度空间(Scale space)理论
- SDUT 1124-飞跃荒野(三维BFS)
- hdu 1507
- java系列--集合
- 201521123026《Java程序设计》第2周学习总结
- 【Java基础】【24多线程(上)】
- android中使用通知功能
- PCM、G.729等常用VoIP编码的理论带宽计算
- 雷达波Shader
- HDU-1003 Max Sum(动态规划,最长字段和问题)
热门文章
- PHP 表单和用户输入讲解
- Python os.ftruncate() 方法
- PHP asin() 函数
- Fragment为什么须要无参构造方法
- day13. 迭代器与高阶函数
- ";点";醒自己
- Docker技术入门与实战第2版-高清文字版
- OpenCV计算机视觉编程攻略(第三版)源码
- mysql删除数据库提示mysql Error dropping database (can't rmdir './db'...
- “随手记”开发记录day04