Skip to content

Pool de conexão - Perda de conexão #17

@mauriciovilela

Description

@mauriciovilela

O servidor do thrust de produção do Solução Certa (docker) perdeu a conexão com o servidor de banco de dados, e a partir deste erro o Thrust não obteve o controle e começou a gerar o erro de pool de conexão.

Erro de perda de conexão entre os servidores:

{"acao":"erro.daoException","conteudo":"com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 59,365,553 milliseconds ago. The last packet sent successfully to the server was 59,365,553 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem."}

Erro de pool de conexão:

{"acao":"erro.daoException","conteudo":"org.apache.tomcat.jdbc.pool.PoolExhaustedException: [http-nio-8778-exec-7] Timeout: Pool empty. Unable to fetch a connection in 30 seconds, none available[size:15; busy:15; idle:0; lastwait:30000]."}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions