Page 1 of 1

mythfilldatabase running for 2.5 hours, new install

PostPosted: Fri Jul 27, 2012 9:54 am
by muggeridge
Linux Mint 13 Maya, 32-bit X86. New install of Mythtv 0.25.

Mythfilldatabase has been running for 2:45 now.

This can't be normal behavior. The terminal keeps indicating progress, as if it is working. Every 20 minutes or so it says something like:

---------------------------snip------------------------------
2012-07-27 11:29:25.152798 I Grab complete. Actual data from Wed Aug 1 05:00:00 2012 to Thu Aug 2 05:00:00 2012 (UTC)
2012-07-27 11:29:25.154656 I Main temp tables populated.
2012-07-27 11:29:25.452654 I Clearing data for source.
2012-07-27 11:29:25.452786 I Clearing from Wed Aug 1 00:00:00 2012 to Thu Aug 2 00:00:00 2012 (localtime)
2012-07-27 11:29:25.512648 I Data for source cleared.
2012-07-27 11:29:25.512665 I Updating programs.
2012-07-27 11:29:25.852840 I Program table update complete.
2012-07-27 11:29:25.853042 I Checking day @ offset 6, date: Thu Aug 2 2012
2012-07-27 11:29:25.855686 I Data refresh needed because only 0 out of 0 channels have at least one program listed for day @ offset 6 from 8PM - midnight. Previous day had 10 channels with data in that time period.
2012-07-27 11:29:25.855712 N Refreshing data for Thu Aug 2 2012
2012-07-27 11:29:25.855731 I This DataDirect listings source is shared by 2 MythTV lineups
2012-07-27 11:29:25.855740 N We should keep data around after this one
2012-07-27 11:29:25.857124 I Retrieving datadirect data.
2012-07-27 11:29:25.857224 I Grabbing data for Fri Jul 27 2012 offset 6
2012-07-27 11:29:25.857281 I From Thu Aug 2 05:00:00 2012 to Fri Aug 3 05:00:00 2012 (UTC)
2012-07-27 11:29:25.857304 I DataDirect: Grabbing listing data
2012-07-27 11:29:25.857524 I Downloading DataDirect feed
content-type missing in HTTP POST, defaulting to application/octet-stream
content-type missing in HTTP POST, defaulting to application/octet-stream
2012-07-27 11:29:50.688106 I Downloaded 691237 bytes
2012-07-27 11:29:50.688134 I Uncompressing DataDirect feed
2012-07-27 11:29:50.727953 I Uncompressed to 6317675 bytes
2012-07-27 11:29:51.048835 I DataDirect: Your subscription expires on Wed Sep 26 10:06 PM
--------------snip------

Will this continue for days? and Days? How can I determine what is wrong?

Re: mythfilldatabase running for 2.5 hours, new install

PostPosted: Mon Aug 13, 2012 8:24 am
by rshendershot
EDIT: mount /tmp with tempfs - I found this made a lot of difference with fedora 17 (Dec12). Then...
Code: Select all
tmpfs               /tmp            tmpfs   nodev,nosuid    0 0


try mounting /var EXT3 with the guard time disabled. Here's my fstab:
\
Code: Select all
LABEL=var           /var            ext3    defaults,noatime,nodiratime,nobarrier        1 2


You could limit the risk by just doing this for an EXT3 partition that holds MySQL data (/var/lib/mysql for my Fedora system). I've had tmp and var on two machines mounted this way for several months now with no problems. electirc power is highlyl reliable though so not much experience with the crashes that would be a problem. I did see a post about a different solution to this problem but never followed it up - ain't broke and all that... YMMV