Queuepool limit of size 10 overflow 20 reached, connection timed out, timeout 10

Source: Internet
Author: User

An error is reported when multiple virtual machines are deleted.


1. the following error message is reported on the computing node:

[[Email protected] ~] # Tail-F/var/log/neutron/openvswitch-agent.log

252 19:28:27. 36649 trace Neutron. plugins. openvswitch. Agent. ovs_neutron_agent file "/usr/lib/python2.6/Site-packages/neutron/agent/plugin", line 120, in prepare_devices_filter

19:28:27. 252 36649 trace Neutron. plugins. openvswitch. Agent. ovs_neutron_agent self. Context, list (device_ids ))

252 19:28:27. 36649 trace Neutron. plugins. openvswitch. Agent. ovs_neutron_agent file "/usr/lib/python2.6/Site-packages/neutron/agent/securitygroups_rpc.py", line 58, release in

19:28:27. 252 36649 trace Neutron. plugins. openvswitch. Agent. ovs_neutron_agent topic = self. Topic)

19:28:27. 252 36649 trace neutron. plugins. openvswitch. agent. ovs_neutron_agent file "/usr/lib/python2.6/Site-packages/neutron/openstack/common/rpc/proxy. PY ", line 130, in call

252 19:28:27. 36649 trace Neutron. plugins. openvswitch. Agent. ovs_neutron_agent exc.info, real_topic, MSG. Get ('method '))

19:28:27. 252 36649 trace neutron. plugins. openvswitch. agent. ovs_neutron_agent Timeout: timeout while waiting on RPC response-topic: "Q-plugin", RPC method: "security_group_rules_for_devices" info: "<Unknown>"

19:28:27. 252 36649 trace Neutron. plugins. openvswitch. Agent. ovs_neutron_agent

19:28:27. 253 36649 info Neutron. plugins. openvswitch. Agent. ovs_neutron_agent [-] agent out of sync with plugin!


2. The error message on the control node is as follows:

[[Email protected] ~] # Tail-F/var/log/neutron/server. Log

19:32:12. 123 3147 trace neutron. openstack. common. RPC. amqp file "/usr/lib64/python2.6/Site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/engine/base. PY ", line 2490, in contextual_connect

19:32:12. 123 3147 trace Neutron. openstack. Common. rpc. amqp self. Pool. Connect (),

19:32:12. 123 3147 trace neutron. openstack. common. RPC. amqp file "/usr/lib64/python2.6/Site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/pool. PY ", line 224, in connect

123 19:32:12. 3147 trace Neutron. openstack. Common. rpc. amqp return _ connectionfairy (Self). Checkout ()

19:32:12. 123 3147 trace neutron. openstack. common. RPC. amqp file "/usr/lib64/python2.6/Site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/pool. PY ", line 387, in _ init __

123 19:32:12. 3147 trace Neutron. openstack. Common. rpc. amqp rec = self. _ connection_record = pool. _ do_get ()

19:32:12. 123 3147 trace neutron. openstack. common. RPC. amqp file "/usr/lib64/python2.6/Site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/pool. PY ", line 729, in _ do_get

19:32:12. 123 3147 trace Neutron. openstack. Common. rpc. amqp (self. Size (), self. Overflow (), self. _ timeout ))

123 19:32:12. 3147 trace Neutron. openstack. Common. rpc. amqp timeouterror: queuepool limit of size 10 overflow 20 reached, connection timed out, timeout 10

19:32:12. 123 3147 trace Neutron. openstack. Common. rpc. amqp



Solution: set the following parameters in the neutron configuration file:

Openstack-config -- set/etc/neutron/Neutron. conf default api_workers 20

Openstack-config -- set/etc/neutron/Neutron. conf database max_overflow 2000

Openstack-config -- set/etc/neutron/Neutron. conf database max_pool_size 2000

Openstack-config -- set/etc/neutron/Neutron. conf database retry_interval 2


The configuration file for setting up Nova is as follows:

Openstack-config -- set/etc/NOVA. conf database max_pool_size 2000

Openstack-config -- set/etc/NOVA. conf database max_retries 10

Openstack-config -- set/etc/NOVA. conf database retry_interval 5

Openstack-config -- set/etc/NOVA. conf database max_overflow 2000


This article is from the "zhanguo1110" blog, please be sure to keep this source http://zhanguo1110.blog.51cto.com/5750817/1548234

Queuepool limit of size 10 overflow 20 reached, connection timed out, timeout 10

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.