Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Limite de conexões MySQL excedidos

Discussion in 'Discussões em Português' started by pootz, May 21, 2018.

  1. pootz

    pootz Member

    Joined:
    May 4, 2018
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Olá,

    Eu instalei o plugin WatchMySQL para monitorar as queries MySQL que são executadas no meu servidor. Mas após ter instalado esse plugin, fico recebendo diversos alertas em meu e-mail com a seguinte mensagem:

    This message is to alert you that you have exceeded your concurrent MySQL connection limit. Please review the details below

    User: itatherm
    Domain: dominio.com.br
    MySQL Connection Limit:
    Current MySQL Connections: 15

    O website continua funcionando normalmente, mas continuo recebendo essa mensagem todos os dias.

    Como posso fazer para corrigir esse alerta ou então para silenciá-lo?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,785
    Likes Received:
    82
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Do you have CloudLinux /MySQL governor installed on your machine too?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. pootz

    pootz Member

    Joined:
    May 4, 2018
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Não, tenho apenas o MySQL 5.6 com PHPMyAdmin e WatchMySQL.

    Na realidade, o WatchMySQL é o único plugin que tenho instalado em meu servidor.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,646
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you let us know the contents of the /etc/my.cnf file on the system?

    Thank you.

    Translation:

    Olá,

    Você pode nos informar o conteúdo do arquivo /etc/my.cnf no sistema?

    Obrigado.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. pootz

    pootz Member

    Joined:
    May 4, 2018
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Conteúdo do arquivo /etc/ny.conf

    [mysqld]
    default-storage-engine=MyISAM
    innodb_file_per_table=1
    performance-schema=0
    max_allowed_packet=268435456
    open_files_limit=30000
    bind-address=0.0.0.0
    connect_timeout=25
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,646
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @pootz,

    It doesn't look like MySQL itself is blocking connections. It looks like the plugin you installed is configured to alert you when a user exceeds 15 MySQL connections. If this is leading to excessive resource usage, then you'd want to investigate the scripts utilized on that account to see why that's happening.

    Thank you.

    Translation:

    Olá @pootz,

    Não parece que o MySQL esteja bloqueando conexões. Parece que o plugin que você instalou está configurado para alertá-lo quando um usuário exceder 15 conexões MySQL. Se isso estiver levando ao uso excessivo de recursos, convém investigar os scripts utilizados nessa conta para ver por que isso está acontecendo.

    Obrigado.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. pootz

    pootz Member

    Joined:
    May 4, 2018
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Realmente é apenas uma configuração do próprio plugin.

    Olhandos as opções de configuração dele, vi que tem como alterar os limites de conexões.

    Pela configuração padrão, ele mata todas as conexões MySQL quando o total de conexões for igual a 12, mas é possível desativar essa opção e também desativar o envio de notificações. Fiz isso agora e acredito que não irei mais receber esse tipo de mensagens.

    Obrigado pela ajuda :)
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice