OpenStack Mysql 1040, ' Too many connections ' problem

Source: Internet
Author: User

[email protected] ~]# Nova List

Error:an unexpected error prevented the server from fulfilling your request. (Operationalerror) (1040, ' Too many connections ') None None (HTTP 500)

Workaround:

Key_buffer = 64M

Max_allowed_packet = 16M

Thread_stack = 192K

Thread_cache_size = 8

Myisam-recover = BACKUP

Query_cache_limit = 1M

query_cache_size = 64M

Log_error =/var/log/mysqld.log

Expire_logs_days = 10

Max_binlog_size = 100M

max_connections = +


[email protected] ~]# Nova List

+--------------------------------------+---------------------------------------------------+--------+---------- --+-------------+-----------------------------------------+

| ID | Name | Status | Task State | Power State | Networks |

+--------------------------------------+---------------------------------------------------+--------+---------- --+-------------+-----------------------------------------+

| d4965275-f152-482c-9669-a54c90e0ec9b | 2222 | ACTIVE | -          | Running | publics=10.14.22.21; private=10.14.8.21 |

| 966aee59-3b6c-44b5-bccb-ee671dd8b999 | 3-windows-cn-966aee59-3b6c-44b5-bccb-ee671dd8b999 | ACTIVE | -          | Running | publics=10.14.22.5; private=10.14.8.6 |

| da60e9f7-009a-43c0-bf69-7999692d81ed | 333-da60e9f7-009a-43c0-bf69-7999692d81ed | ACTIVE | -          | Running | publics=10.14.22.8; private=10.14.8.8 |

| b936d13d-d28a-45b7-880e-dfadac17f0b9 | 3333 | ACTIVE | -          | Running | publics=10.14.22.11; private=10.14.8.11 |

| 08f5e6c2-d49a-4ded-a901-7bc21d474b2a | ASF | ACTIVE | -          | Running | publics=10.14.22.9; private=10.14.8.9 |


This article from "Welcome comments, Welcome to like" Blog, reproduced please contact the author!

Related Article

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.