Code: Select all
Mar 26 20:51:32 mythtv mythbackend: mythbackend[1704]: W TFWWrite threadedfilewriter.cpp:547 (DiskLoop) TFW(/var/lib/mythtv/recordings/1507_20230327023000.ts:89): write(65424) cnt 64 total 4083360 -- took a long time, 3443 ms
Mar 26 20:51:32 mythtv mythbackend: mythbackend[1704]: W TFWWrite threadedfilewriter.cpp:547 (DiskLoop) TFW(/var/lib/mythtv/recordings/1539_20230327020300.ts:90): write(65424) cnt 75 total 4094076 -- took a long time, 3443 ms
Mar 26 20:51:35 mythtv mythbackend: mythbackend[1704]: W TFWWrite threadedfilewriter.cpp:547 (DiskLoop) TFW(/var/lib/mythtv/recordings/1580_20230327020000.ts:106): write(65424) cnt 123 total 8258840 -- took a long time, 6724 ms
Mar 26 20:51:40 mythtv mythbackend: mythbackend[1704]: W TFWWrite threadedfilewriter.cpp:547 (DiskLoop) TFW(/var/lib/mythtv/recordings/1539_20230327020300.ts:90): write(49820) cnt 65 total 3641748 -- took a long time, 3478 ms
Mar 26 20:51:40 mythtv mythbackend: mythbackend[1704]: W TFWWrite threadedfilewriter.cpp:547 (DiskLoop) TFW(/var/lib/mythtv/recordings/1507_20230327023000.ts:89): write(13912) cnt 58 total 3629904 -- took a long time, 3477 ms
Mar 26 20:51:40 mythtv mythbackend: mythbackend[1704]: W TFWWrite threadedfilewriter.cpp:547 (DiskLoop) TFW(/var/lib/mythtv/recordings/1580_20230327020000.ts:106): write(168260) cnt 62 total 4023200 -- took a long time, 3529 ms
Mar 26 20:51:59 mythtv mythbackend: mythbackend[1704]: W TFWWrite threadedfilewriter.cpp:547 (DiskLoop) TFW(/var/lib/mythtv/recordings/1507_20230327023000.ts:89): write(1692) cnt 267 total 17111572 -- took a long time, 15193 ms
Mar 26 20:51:59 mythtv mythbackend: mythbackend[1704]: W TFWWrite threadedfilewriter.cpp:547 (DiskLoop) TFW(/var/lib/mythtv/recordings/1539_20230327020300.ts:90): write(33464) cnt 326 total 17184516 -- took a long time, 15194 ms
Mar 26 20:51:59 mythtv mythbackend: mythbackend[1704]: W TFWWrite threadedfilewriter.cpp:547 (DiskLoop) TFW(/var/lib/mythtv/recordings/1580_20230327020000.ts:106): write(65424) cnt 278 total 17750584 -- took a long time, 15244 ms
Here is some sar data for above problem period. As you can see, things were pretty smooth in the minutes before and after the issue. It just seems to come out of nowhere.
Code: Select all
LC_ALL=C sar -dp --dev=sda -f /var/log/sysstat/sa26 -s 20:48:00 -e 20:55:00
Linux 5.15.0-67-generic (mythtv) 03/26/23 _x86_64_ (12 CPU)
20:46:01 DEV tps rkB/s wkB/s dkB/s areq-sz aqu-sz await %util
20:46:01 sda 15.15 1085.37 3383.71 0.00 295.00 2.44 132.30 30.65
20:47:01 sda 15.90 1553.75 3377.14 0.00 310.14 4.10 223.41 40.99
20:48:01 sda 33.95 1359.74 3433.39 0.00 141.18 6.99 191.91 53.37
20:49:01 sda 14.92 1123.12 3200.81 0.00 289.82 2.80 156.75 33.04
20:50:01 sda 14.87 1086.40 3562.46 0.00 312.66 3.83 224.59 35.68
20:51:01 sda 13.35 1063.62 3359.49 0.00 331.26 4.43 287.75 41.54
20:52:01 sda 8.51 1058.40 1921.01 0.00 349.95 10.61 1212.14 67.87
20:53:01 sda 12.21 499.03 4749.89 0.00 429.77 9.18 703.79 78.47
20:54:01 sda 14.64 929.61 3438.52 0.00 298.40 3.29 192.31 40.98
20:55:01 sda 15.46 1389.49 3200.59 0.00 296.88 3.31 180.16 47.71
20:56:01 sda 15.20 1072.22 3429.53 0.00 296.12 3.51 196.66 38.59
20:57:01 sda 14.55 1127.51 3228.57 0.00 299.38 3.10 172.59 38.74
Does this plan seem reasonable? Should I be looking harder at why the Seagate can't handle the load?