openstack Mysql 1040, 'Too many connections' 問題

來源:互聯網
上載者:User

標籤:mysql   nova   nova list   openstack   

[[email protected] ~]# 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


[[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   |


本文出自 “歡迎評論,歡迎點贊” 部落格,轉載請與作者聯絡!

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.