Done
Details
Assignee
UnassignedUnassignedReporter
lpjirasynclpjirasync(Deactivated)Priority
High
Details
Details
Assignee
Unassigned
UnassignedReporter
lpjirasync
lpjirasync(Deactivated)Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created January 24, 2018 at 3:07 PM
Updated January 24, 2018 at 3:07 PM
Resolved January 24, 2018 at 3:07 PM
**Reported in Launchpad by Atle Veka last update 19-06-2012 20:02:36
pt-kill frequently, about once or twice daily, exits operation after encountering uninitialized variables. Script should properly check all processlist fields and skip execution if any of the fields it requires are "undef".
Debug output:
Processlist:2161 28382 Checking query $VAR1 = {
Command => 'Sleep',
Host => '<FQDN>:<PORT>',
Id => '182564144',
Info => undef,
State => undef,
Time => undef,
User => '<USER>',
db => undef
};
#
MasterSlave:2937 28382 Not system user
MasterSlave:2954 28382 Matches all replication thread: no ; match: 0
Use of uninitialized value in numeric lt (<) at /usr/local/bin/pt-kill line 2180.
In this case it is barfing on the "Time" field.
Line 2179: if ( $find_spec{idle_time} && ($query->{Command} || '') eq 'Sleep' ) {
Line 2180: if ( $query->{Time} < $find_spec{idle_time} ) {
Thanks,
Atle