PAReplicate - ITATS663E Database dump process did not complete successfully. Error message: error: 1040: Too many connections

PAReplicate - ITATS663E Database dump process did not complete successfully. Error message: error: 1040: Too many connections

120
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:08 PM


Symptom


PAReplicate backup fails with the below error:

 

CASTM003E Vault transaction failed. Reason: ITATS663E Database dump process did not complete successfully. Error message: error: 1040: Too many connections when trying to connect 



Environment


Privileged Access Manager (PAM, self-hosted) Vault

Cause


There are not enough DB connections available for the Backup user to create a replication task on the Vault.

 

The value of max_connections set in my.ini should always be:
TasksCount + 50 (but no less than 100)

 

This means that any time we set a value of TasksCount (in dbparm.ini) higher than 50, we must adjust the max_conections value in my.ini accordingly.



Resolution


Set the value of max_connections in my.ini according to the TasksCount value in dbparm.ini:
max_connections=TasksCount + 50 (but no less than 100)

 

For example:

 

In dbparm.ini we have-

TasksCount=64

 

We will set in my.ini max connections of 64 + 50:

max_connections=114



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001T84CAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail