[mythtv-users] Long delay registering media handlers

chris at cpr.homelinux.net chris at cpr.homelinux.net
Sat Aug 26 03:25:31 UTC 2006


I'm running a 0.19 Debian version, and when I start any of the 
frontends there is a long delay during the startup.  Here's the 
relevant bit that I get if I run 'mythfrontend -v all' from a shell:

2006-08-25 19:43:13.550 Disabling Settings Cache.
2006-08-25 19:43:13.550 Clearing Settings Cache.
2006-08-25 19:43:13.551 MSqlQuery: SELECT data FROM settings
  WHERE value = 'MusicDBSchemaVer' AND hostname = 'fubar' ;
2006-08-25 19:43:13.552 MSqlQuery: SELECT data FROM settings
  WHERE value = 'MusicDBSchemaVer' AND hostname IS NULL;
2006-08-25 19:43:13.552 Enabling Settings Cache.
2006-08-25 19:43:13.552 Clearing Settings Cache.
2006-08-25 19:43:24.240 MSqlQuery: SELECT data FROM settings
  WHERE value = 'MusicLocation' AND hostname = 'fubar';

That 10-second delay before getting the 'MusicLocation' data feels 
like *forever*.

What is it about that last instance of "Clearing Settings Cache" 
that would cause it to take 10 seconds, when all of the other 
invocations take 0.001 seconds?

FWIW, the first query for MusicDBSchemaVer returns no rows, and the 
second returns the value '1005'.

Both the frontend and backend were idle when I logged that startup, 
and both have at least a gigabyte of RAM so there's no paging going 
on at all.



More information about the mythtv-users mailing list