Incident Report: 20191104: Difference between revisions
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
|end=05/11/2019 02:00 | |end=05/11/2019 02:00 | ||
|mitigation=Stop the self-DDoS, restart samba, cry | |mitigation=Stop the self-DDoS, restart samba, cry | ||
|leader= | |leader=Marks Polakovs (MP) | ||
|others= | |others=Matthew Stratford (MS), Isaac Lowe (IL), Anthony Williams (AW) | ||
}} | }} | ||
| Line 16: | Line 16: | ||
== Timeline == | == Timeline == | ||
( | (all times GMT) | ||
9:00 - A regularly scheduled offsite backup job, which should be nightly and incremental... was not either of those things, for reasons unknown to man. It starts copying the entirety of the music store from backup0 to moyles (in IT Services TFTA data-center on East), which starts hammering the ZFS pools on backup0. | 9:00 - A regularly scheduled offsite backup job, which should be nightly and incremental... was not either of those things, for reasons unknown to man. It starts copying the entirety of the music store from backup0 to moyles (in IT Services TFTA data-center on East), which starts hammering the ZFS pools on backup0. | ||
| Line 22: | Line 22: | ||
20:48 - A member reports in Slack that they are unable to upload music. With just over an hour to go to their show, and 12 songs left to upload, they are forced to cancel. | 20:48 - A member reports in Slack that they are unable to upload music. With just over an hour to go to their show, and 12 songs left to upload, they are forced to cancel. | ||
21:32 - | 21:32 - MP alerts #computing in Slack to a serious incident. '''INCIDENT BEGINS.''' | ||
21:35 - | 21:35 - MS reports that he had done some package updates on dolby(?) over the weekend, including ffmpeg, which may be causing stuck uploads. (This is eventually shown to be a red herring, but is important to include in this report.) | ||
''Between these entries, the computing team are sidetracked by an issue with MyRadio emails'' | ''Between these entries, the computing team are sidetracked by an issue with MyRadio emails'' | ||
22:30 - | 22:30 - MS reports that ffmpeg conversions are working manually. | ||
22:36 - | 22:36 - MP adds debug logging to the MyRadio upload controller, showing that it is hanging on a call to <code>move_uploaded_file</code>, a built-in PHP function. This leads him to point the finger to the music store. | ||
22:55 - | 22:55 - AW logs on to backup0 to troubleshoot the pools, sees the degraded performance, but notes that zpool reports it is running fine. | ||
22:59 - | 22:59 - AW notices the stuck(?) offsite backup job | ||
23:04 - | 23:04 - AW notes that the RAID controllers are chugging as well | ||
23:10 - | 23:10 - MP and AW decide to restart Samba, but have to wait until midnight as there is a show on air | ||
23:13 - | 23:13 - AW notices that a Samba log is generating 100KB/s, and a 5MB log size limit means that it is rotating the log every few seconds. He also notes that the ARC cache is very low and that swap is not enabled. Around this time, a very frustrated MP goes for a run to let off steam. | ||
23:25 - | 23:25 - AW notes that the incremental backup job... is not incremental... and has been sending the entire music dataset to moyles for over 12 hours | ||
23:35 - | 23:35 - IL logs on and reports that the backup was ''intentionally'' not an incremental one (for reasons that the author (MP) does not yet understand). At 23:38 he kills it. | ||
23:49 - | 23:49 - MS and IL report that the Windows 10 photos app is seemingly hammering backup0's shares | ||
00:05 - | 00:05 - MP returns and stops samba. Performance on backup0 immediately jumps tenfold. However, MP screws up and doesn't realise that samba also handles his credentials (from the Windows domain). | ||
00:10 - | 00:10 - MS logs on with his local account and restarts samba. Performance degrades immediately. MP notes that Xymon does not monitor samba on backup0 at all. | ||
00:14 - | 00:14 - AW notes that the picture hammering noted earlier is likely one of the studio PCs. | ||
00:38-00:43 - | 00:38-00:43 - MP remotes into wogan and restarts all the studio presenter and guest PCs. At 00:56 he reports that performance has not, in fact, improved substantially. | ||
01:06 - | 01:06 - MS tests song uploading and notes that, while it is still slow, it has improved dramatically. '''INCIDENT ENDS''' | ||
01:26 - | 01:26 - MP and the gang head to bed. | ||