[mythtv-users] mythfilldatabase issue

Ken Mandelberg km at mathcs.emory.edu
Wed Jun 8 19:43:10 UTC 2022


I recently did a couple of updates including hardware are OS. Now on 
Ubuntu 22.04. I noticed that mythfilldatabase was failing and initially 
it was because xmltv wasn't installed. I fixed that but now instead of 
failing it taking FOREVER, at least its been running for 3 hours. I know 
there was a recent FOREVER posting, but I'm not sure that this is the 
same issue. This is what I see when I run it


2022-06-08 11:56:52.235758 I MythCoreContext::ConnectCommandSocket(): 
Connecting to backend server: 192.168.10.10:6543 (try 1 of 1)
2022-06-08 11:56:52.236925 I MythCoreContext::CheckProtoVersion(): Using 
protocol version 91 BuzzOff
2022-06-08 11:56:52.237118 I  Opening blocking connection to master backend
2022-06-08 11:56:53.517461 I  Updating source #3 (zap1) with grabber 
tv_grab_zz_sdjson_sqlite
2022-06-08 11:56:53.520288 I  Found 843 channels for source 3 which use 
grabber
2022-06-08 11:56:53.520451 I  Starting process manager
2022-06-08 11:56:53.520485 I  Starting process signal handler
2022-06-08 11:56:53.520504 I  Starting IO manager (read)
2022-06-08 11:56:53.520564 I  Starting IO manager (write)
2022-06-08 11:56:54.572640 I  Grabber has capabilities: baseline 
manualconfig preferredmethod lineups apiconfig
2022-06-08 11:56:55.173715 I  Grabber prefers method: allatonce
2022-06-08 11:56:55.196139 I  XMLTV config file is: 
/home/km/.mythtv/zap1.xmltv
2022-06-08 12:12:21.823235 N  Skipping Channel Updates
2022-06-08 12:19:20.763425 N  Unknown xmltv channel identifier: 
I10021.json.schedulesdirect.org - Skipping channel.

an there its been sitting for 3 hours so far. ps shows both 
mythfilldatabase and mysql using time and an strace show a constant 
stream of read and writes between them, for example (fd 9 is the connection)

write(9, 
"\27\3\3\0\205\210Jeo\213D\334l%\301\325kw]\305\372\244\177\355I\361\320\200\225\236\374I"..., 
138) = 138
read(9, "\27\3\3\0\303", 5)             = 5
read(9, 
"\260\373\323$\312\6\342D+:5~\311\332\223\316P4\10\234\n\3602\275S\350i\347\337\367\247\307"..., 
195) = 195
write(9, 
"\27\3\3\0\32\234\376\321\17X\315\2364A+\205#\16\342\3535\310\250j\7:H2\232\245`", 
31) = 31
read(9, "\27\3\3\0\34", 5)              = 5
read(9, 
"\4\342\202\276\20\270a\343y\251\1\346\256\252\316\210\270\346\270\304|\217FZ\224P\244\302", 
28) = 28

Will this ever end? Is there a better debug tool?

The mythfrontend is working, but the days are decreasing, and some 
recordings are not getting done since generic descriptions that get 
normally get updated look like reruns.



More information about the mythtv-users mailing list