pt-query digest SIGPIPE error using /bin/mail
Bug #1648770 reported by
Miguel Gonzalez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Running Percona-Server-5.5 and percona toolkit in CentOS 6.8.
pt-query-digest with no option runs fine agains slow query log. Trying to mail the report shows a SIGPIPE error that never showed up before.
Changed in percona-toolkit: | |
status: | Incomplete → New |
Changed in percona-toolkit: | |
status: | Incomplete → Invalid |
To post a comment you must log in.
Thank you for the report.
I cannot repeat described behavior:
$ ~/src/percona- toolkit/ bin/pt- query-digest slow.log | mail -s "Bug #1648770" root@Thinkie
$
root@Thinkie: /home/sveta/ src/percona- server# mail .9028817C1C73@ Thinkie>
"/var/mail/root": 1 message 1 new
>N 1 Sveta Cum Ara 9 23:30 25/1059 Bug #1648770
? 1
Return-Path: <sveta@Thinkie>
X-Original-To: root@Thinkie
Delivered-To: root@Thinkie
Received: by Thinkie (Postfix, from userid 1000)
id 9028817C1C73; Fri, 9 Dec 2016 23:30:09 +0300 (+03)
Subject: Bug #1648770
To: <root@Thinkie>
X-Mailer: mail (GNU Mailutils 2.99.99)
Message-Id: <20161209203009
Date: Fri, 9 Dec 2016 23:30:09 +0300 (+03)
From: sveta@Thinkie (Sveta)
# 15.8s user time, 20ms system time, 47.62M rss, 113.88M vsz _______ _______ _
# Current date: Fri Dec 9 23:30:09 2016
# Hostname: Thinkie
# Files: slow.log
# Overall: 0 total, 1 unique, 0 QPS, 0x concurrency _______
# Attribute total min max avg 95% stddev median
# ============ ======= ======= ======= ======= ======= ======= =======
# Query size 2.07M 2.07M 2.07M 2.07M 2.07M 0 2.07M
# Profile
# Rank Query ID Response time Calls R/Call V/M Item
# =========== =========== =========== =========== =========== ===== ======
?
Please send exact command you use to pipe output from the tool to mail.