pt-stalk doesn't collect the correct number of mysqladmin samples

Reported by Ryan Lowe on 2013-04-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit
Undecided
Unassigned

Bug Description

When I run:

%> pt-stalk --no-stalk --iterations 1 --run-time=3600
...

It finishes correctly, but:

%> grep -c Bytes_sent /var/lib/pt-stalk/(TS)-mysqladmin
3592
%> grep -c TS /var/lib/pt-stalk/(TS)-df
3600

Suggested behavior would be to have all tools collect the same number of iterations :)

tags: added: pt-stalk
Daniel Nichter (daniel-nichter) wrote :

mysqladmin is working on its own. So pt-stalk tells it to get 3600 samples (-i1 -c3600), but either that program is inexact or pt-stalk is killing it too soon. The other data like -df is inside a loop controlled by pt-stalk, so it's more or less guaranteed to get the number of samples. This loop should also allow mysqladmin to run for the full 3600 seconds, but I guess not. I suppose we could run mysqladmin in the loop too?

Changed in percona-toolkit:
status: New → Triaged
summary: - pt-stalk collections are not consistent
+ pt-stalk doesn't collect the correct number of mysqladmin samples
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers