I am on a very static LinHES backend/front end server and have run into some errors as of late out of the blue.
- Out of diskspace warning on the main partition.
- Decoder errors when issuing multiple fast forward commands during playback.
Diving into this, the Front end logs are huge
Two issues jump out:
- Corrupt recordedseek table
- AV-Sync might be broken.
For the corrupted recordedseek table, i thought I fixed the issue running some mysql correct commands but never rechecked the logs to verify and the disk space warning never appeared again I thought all was good, but it was not. Here is the fix that removed this error from reoccurring:
Code:
mysql> Rename table recordedseek to recordedseek_bad;
mysql> Create table recordedseek like recordedseek_bad;
This fixed the decoded issue with fast forwarding and the logs.
However when testing the fast forwarding, I am still seeing the follow errors occuring about 30 times per second on video playback.
Code:
2022-02-13 12:13:48.869416 W AFD: Audio -1507 ms behind video but already 220 video frames queued. AV-Sync might be broken.
I am not noticing any audio video sync issues at all. 1.5s lag seems something anyone would notice.
Any thoughts on how to correct this issue or supress the the error from the logs since its filling them up such that a previous days frontend logs can not be view in vi because the file is bigger than /tmp (a first in my entire 35 years of using unix/linux btw).
Code:
ls -l /var/log/2022-02-12
-rw-r--r-- 1 root root 18076 Feb 12 23:50 mythtvquad_cron.log
-rw-r--r-- 1 root root 35394884 Feb 12 23:52 mythtvquad_frontend.log
-rw-r--r-- 1 root root 121193 Feb 12 23:58 mythtvquad_lighttpd.log
-rw-r--r-- 1 root root 30013 Feb 12 23:50 mythtvquad_maillog.log
-rw-r--r-- 1 root root 35732451 Feb 12 23:58 mythtvquad_messages.log
-rw-r--r-- 1 root root 6179110 Feb 12 23:58 mythtvquad_mythbackend.log
-rw-r--r-- 1 root root 68783 Feb 12 22:10 mythtvquad_mythcommflag.log
-rw-r--r-- 1 root root 464 Feb 12 19:27 mythtvquad_mythexpress.log
-rw-r--r-- 1 root root 3075 Feb 12 00:00 mythtvquad_mythfilldatabase.log
-rw-r--r-- 1 root root 42404092 Feb 12 23:52 mythtvquad_mythfrontend.log
-rw-r--r-- 1 root root 37308 Feb 12 21:59 mythtvquad_mythmetadatalookup.log
-rw-r--r-- 1 root root 84494 Feb 12 23:53 mythtvquad_myth_mtc.log
-rw-r--r-- 1 root root 379881 Feb 12 23:52 mythtvquad_mythpreviewgen.log
-rw-r--r-- 1 root root 3456 Feb 12 23:55 mythtvquad_rsyslogd.log
-rw-r--r-- 1 root root 608320 Feb 12 23:58 mythtvquad_sudo.log
-rw-r--r-- 1 root root 2390 Feb 12 22:42 mythtvquad_su.log
-rw-r--r-- 1 root root 13680 Feb 12 23:58 mythtvquad_xfs_defrag.log