参考链接: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):

最新文章

  1. 【web前端学习部落22群】分享 碰撞的小球开源小案例
  2. WinForm中WebBrowser的使用
  3. 【Debian】非法关机后无法联网 connect: network is unreachable
  4. JAVA学习博客---2015-8
  5. Atitit. 获取cpu占有率的 java c# .net php node.js的实现
  6. Position、Float
  7. Ubuntu安装Eclips for C/C++及相关配置
  8. jsp网站与discuz论坛用户同步
  9. Git for Windows
  10. 读书笔记-----Java并发编程实战(一)线程安全性
  11. 尺度空间(Scale space)理论
  12. SDUT 1124-飞跃荒野(三维BFS)
  13. hdu 1507
  14. java系列--集合
  15. 201521123026《Java程序设计》第2周学习总结
  16. 【Java基础】【24多线程(上)】
  17. android中使用通知功能
  18. PCM、G.729等常用VoIP编码的理论带宽计算
  19. 雷达波Shader
  20. HDU-1003 Max Sum(动态规划,最长字段和问题)

热门文章

  1. PHP 表单和用户输入讲解
  2. Python os.ftruncate() 方法
  3. PHP asin() 函数
  4. Fragment为什么须要无参构造方法
  5. day13. 迭代器与高阶函数
  6. "点"醒自己
  7. Docker技术入门与实战第2版-高清文字版
  8. OpenCV计算机视觉编程攻略(第三版)源码
  9. mysql删除数据库提示mysql Error dropping database (can't rmdir './db'...
  10. “随手记”开发记录day04