neutron-server Connection pool is full, discarding connection 连接池过满
参考链接: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):
neutron-server Connection pool is full, discarding connection 连接池过满的更多相关文章
- 连接池技术 Connection Pooling
原创地址:http://www.cnblogs.com/jfzhu/p/3705703.html 转载请注明出处 和数据库建立一个物理连接是一个很耗时的任务,所以无论是ADO.NET还是J2EE都提供 ...
- 数据库最大连接池max pool size
本文导读:Max Pool Size如果未设置则默认为100,理论最大值为32767.最大连接数是连接池能申请的最大连接数,如果数据库连接请求超过此数,后面的数据库连接请求将被加入到等待队列中,这会影 ...
- SQL Server 连接池 (ADO.NET) MSDN
连接到数据库服务器通常由几个需要很长时间的步骤组成. 必须建立物理通道(例如套接字或命名管道),必须与服务器进行初次握手,必须分析连接字符串信息,必须由服务器对连接进行身份验证,必须运行检查以便在当前 ...
- SQL SERVER连接池
Connection Pool 是什么呢 ?每当程序需要读写数据库的时候.Connection.Open()会使用ConnectionString连接到数据库,数据库会为程序建立 一个连接,并且保持打 ...
- Sql Server 连接池
在看缓存的一篇文章中,看到连接池的三个字,来充充电. 原文连接 这篇讲了关键字 其实我们一直在使用SqlServer的连接池.在连接字符串中,Pooling为是否启用连接池,默认值为true,表示启用 ...
- Nodejs与mysql连接池的应用(pool)
/* * 连接池 连接和缓存的技术 * */ var mysql = require('mysql'); var pool = mysql.createPool({ connectionLimit:2 ...
- jdbc pool java连接池技术
1 ConnectPool .java: 2 3 package pool; 4 5 /** 6 * Title: ConnectPool.Java 7 * Description: 连接池治理器 8 ...
- Linux下启动tomcat报错,WARN org.apache.zookeeper.ClientCnxn - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException:
tomcat启动完了之后,一直不停的打印这种错误信息,看表面上,应该是zk节点下的数据是空的,连接不上服务,所以一直在尝试连接,然后一直又连不上: 完整的错误信息: 407662 [usf-ZooKe ...
- 连接池(Connection Pool)技术
解释: 连接池(Connection Pool)技术的核心思想是:连接复用,通过建立一个数据库连接池以及一套连接使用.分配.管理策略,使得该连接池中的连接可以得到高效.安全的复用,避免了数据库连接频繁 ...
随机推荐
- 安装phpldapadmin
关闭防火墙 [root@ldapmaster2 ~]# systemctl disable firewall [root@ldapmaster2 ~]# systemctl stop firewall ...
- Python环境搭建及中文编码
Python 官方下载地址:https://www.python.org/downloads/ 64 位下载客户端 32 位下载客户端 在安装之后,可能在桌面上看不到图标.这时可以到开始菜单下寻找 ...
- filter 函数基本写法
filter 返回一个符合要求的元素所构成的新列表 filter(函数,可迭代对象) map 和 filter 混合使用将 lst_num 中为偶数的取出来进行加2 和 乘2 操作 2020- ...
- FPAG_Microblaze_PWM_定时器
由于Xilinx底层库的定时器没有PWM例程,调试过程中费了不少劲.生产PWM需要两个定时器同时工作,一个控制频率,一个控制占空比,位数可通过硬件设置. #include "xtmrctr_ ...
- ORCHESTRATOR介绍及使用
ORCHESTRATOR 一简介 MySQL高可用性和复制拓扑管理工具,支持复制拓扑结构的调整,自动故障转移和手动主从切换等.后端数据库用MySQL或SQLite存储元数据,并提供Web界面展示MyS ...
- fiddler本地调试
参考:https://blog.csdn.net/letasian/article/details/75021656 有关fiddler基础用法的介绍详见我的上一篇博客:http://www.cnbl ...
- linux条件测试操作(test)和if判断语句,while循环语句,break控制语句和for循环和case多分枝语句和select语句
条件测试操作 条件测试是专为影响"$?"的操作,是条件转移.循环语句的基础 test测试命令: test 用途:测试特定的表达式是否成立,当条件成立时,命令执行后的返回值为0, ...
- 从jdbc到spring-boot-starter-jdbc
从jdbc到spring-boot-starter-jdbc jdbc 是什么 JDBC是一种用于执行SQL语句的API,可以为多种关系数据库提供统一访问,它是由一组用Java语言编写的类和接口.是J ...
- Android menu菜单的深入了解。。。
今天补充刚开始的菜单控件,这是基于: https://www.cnblogs.com/aolong/p/12868015.html 里面的菜单写的. 今天学的后面部分是结合昨天的Fragment一起的 ...
- IDEA操作jdbc总结
今天学习IDEA操作JDBC,MySQL包导入到项目 // 1.注册数据库的驱动// Driver driver=new com.mysql.jdbc.Driver();// DriverManage ...