Closed
Bug 767617
Opened 13 years ago
Closed 13 years ago
puppetdashboard[1-2].db.phx1 change binlog management
Categories
(Data & BI Services Team :: DB: MySQL, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mpressman, Assigned: mpressman)
Details
the my.cnf has the setting as:
expire_logs_days=10
This is probably just a fat finger ;)
| Assignee | ||
Updated•13 years ago
|
Assignee: server-ops-database → mpressman
| Assignee | ||
Comment 1•13 years ago
|
||
checked the logs and not a fat finger, but intentionally set for servers that do not have expire_logs_days set. Does this affect any other hosts than puppetdashboard[1-2]? We'll want to specifically set those to 1.
| Assignee | ||
Comment 2•13 years ago
|
||
1 day of purge isn't enough to keep from triggering nagios disk alerts hitting 90% capacity. After an alert this morning, I removed all binlogs with the exception of the current days logs and we've hit the 10% free threshold. This could get worse with more data added unless we address the > 20GB of binlogs in a single day.
Summary: puppetdashboard1.db.phx1 my.cnf expire_logs_days should be set to 1 → puppetdashboard[1-2].db.phx1 change binlog management
| Assignee | ||
Comment 3•13 years ago
|
||
[10:02:50] <nagios-phx1> [111] puppetdashboard2.db.phx1.mozilla.com:DB Disk - All is WARNING: DISK WARNING - free space: / 11654 MB (9% inode=98%):
| Assignee | ||
Comment 4•13 years ago
|
||
[15:02:33] <nagios-phx1> [125] puppetdashboard1.db.phx1.mozilla.com:DB Disk - All is WARNING: DISK WARNING - free space: / 12826 MB (10% inode=98%):
| Assignee | ||
Comment 5•13 years ago
|
||
[10:29:55] <nagios-phx1> [179] puppetdashboard2.db.phx1.mozilla.com:DB Disk - All is WARNING: DISK WARNING - free space: / 12748 MB (10% inode=98%):
| Assignee | ||
Comment 6•13 years ago
|
||
puppetdashboard2 has only 11GB of binlogs - we are growing the data at a clip which must either be reigned in, or get more disk.
| Assignee | ||
Comment 7•13 years ago
|
||
the size of the database is taking up 86GB
[root@puppetdashboard2.db.phx1 mysql]# du -sh puppet_dashboard/
86G puppet_dashboard/
| Assignee | ||
Comment 8•13 years ago
|
||
interestingly the size of the puppet_dashboard db on puppetdashboard1 is only 56GB
[root@puppetdashboard1.db.phx1 mysql]# du -sh puppet_dashboard/
56G puppet_dashboard/
Comment 9•13 years ago
|
||
I have defrag'd the backup, it's now 34G, and am rebuilding puppetdashboard2 from it.
Comment 10•13 years ago
|
||
puppetdashboard2 is rebuilt.
| Assignee | ||
Comment 11•13 years ago
|
||
sheeri, thanks for handling to rebuild - this looks mucho better!
Status: NEW → RESOLVED
Closed: 13 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
•