pt-stalk fails when there is too many connection
Bug #1046966 reported by
Jose
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
is it possible to have a persistent connection to mysql?, cause sometimes it fails to connect/collect data when event is triggered.
pt-stalk --threshold 900 --variable Threads_running
2012_09_06_17_41_41 Check results: Threads_
2012_09_06_17_41_42 Check results: Threads_
mysqladmin: connect to server at 'localhost' failed
error: 'Too many connections'
2012_09_06_17_41_57 Detected value is empty; something failed? Trigger exit status: 0
2012_09_06_17_41_57 Check results: Threads_running=, matched=no, cycles_true=0
mysqladmin: connect to server at 'localhost' failed
error: 'Too many connections'
Related branches
Changed in percona-toolkit: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
To post a comment you must log in.
This general bug is appearing more and more, and being mentioned by more people, what I would call "connection resiliency". For example: bug 1046483. It is, however, a big engineering task because the major tools can have lots of connections, some of which are "primary", others "auxiliary". And each possible point of failure needs to be carefully considered: is the original operation idempotent? I.e. can we re-connect, re-execute, and carry on? And are half failures/successes possible? Etc. etc. The general motivation is good though: don't let connection "hiccups" kill the whole tool, especially long-running tools.