Closed
Bug 885373
Opened 12 years ago
Closed 12 years ago
mysql table checksums need a wrapper script to detect if it's already running
Categories
(Data & BI Services Team :: DB: MySQL, task, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bjohnson, Assigned: bjohnson)
Details
(Whiteboard: [2013q3] July)
We run pt-table-checksum on most servers twice daily. While rare, I've seen it gum up on itself a few times and get itself stuck. Most recently was this morning with mysql1.metrics in scl3. We had some running from the 12th and on every day. With about 10 copies running, the server load was really high. Killing the checksums and restarting one manually fixed the issue.
We should write a wrapper script that does the below:
- Checks if the checksum is already running or not.
- If it's running and less than 24 hours old, let it continue and die.
- If it's running and older than 24 hours, kill it and continue.
- If it's not running, continue.
Updated•12 years ago
|
Flags: needinfo?(scabral)
Whiteboard: [2013q3]
Updated•12 years ago
|
Assignee: server-ops-database → bjohnson
Updated•12 years ago
|
Whiteboard: [2013q3] → [2013q3] July was [2013q2]
Updated•12 years ago
|
Whiteboard: [2013q3] July was [2013q2] → [2013q3] July
Updated•12 years ago
|
Priority: -- → P2
| Assignee | ||
Comment 2•12 years ago
|
||
Committed. :)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Data & BI Services Team
You need to log in
before you can comment on or make changes to this bug.
Description
•