Ad Widget

Collapse

Failed to connect to database: Error: Too many connections

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • par
    Junior Member
    Zabbix Certified Specialist
    • Nov 2006
    • 21

    #1

    Failed to connect to database: Error: Too many connections

    Hi,

    My zabbix started dying 2 days ago

    what i can see in server.log is:

    003072:20070112:085552 Failed to connect to database: Error: Too many connections
    003069:20070112:085552 One server process died. Shutting down...
    003069:20070112:085552 ZABBIX server is down.


    Is it mysql or zabbix issue? How can i solve this problem?

    Thank you.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    This is MySQL issue. In your my.cnf:

    max_connections = 256
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • par
      Junior Member
      Zabbix Certified Specialist
      • Nov 2006
      • 21

      #3
      Thank you Alexei for your fast answer.

      Comment

      • mgrundy
        Junior Member
        • Jan 2005
        • 10

        #4
        Adding my thanks as well.

        That's solved a slightly different problem for me as well.

        Comment

        Working...