码迷,mamicode.com
首页 > 数据库 > 详细

openstack Mysql 1040, 'Too many connections' 问题

时间:2014-08-20 10:35:46      阅读:437      评论:0      收藏:0      [点我收藏+]

标签:mysql   nova   nova list   openstack   

[root@athController ~]# nova list

ERROR: An unexpected error prevented the server from fulfilling your request. (OperationalError) (1040, ‘Too many connections‘) None None (HTTP 500)

    解决办法:

            

        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    = 1000


[root@athController ~]# 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   |


本文出自 “欢迎评论,欢迎点赞” 博客,转载请与作者联系!

openstack Mysql 1040, 'Too many connections' 问题,布布扣,bubuko.com

openstack Mysql 1040, 'Too many connections' 问题

标签:mysql   nova   nova list   openstack   

原文地址:http://swq499809608.blog.51cto.com/797714/1542315

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!