[mythtv-users] "Watch Recordings" some frontends slow, some fast?

Steven Adeff adeffs.mythtv at gmail.com
Sat May 8 23:03:38 UTC 2010


On Sat, May 8, 2010 at 3:24 PM, Michael T. Dean <mtdean at thirdcontact.com> wrote:
> On 05/08/2010 02:22 PM, Steven Adeff wrote:
>>
>> I'm noticing that some of my frontends are very fast browsing through
>> the "Watch Recordings" list and some are quite slow. for example, I
>> have one machine that is a C2D with a GT220 and my macbook (C2D,
>> nvidia), both connected to the same switch connected to the rest of
>> the house network (with a remote backend in the basement). The macbook
>> is able to scroll through the Watch Recordings list very quickly,
>> whereas the other machine is very very slow.
>>
>> This occurred with 0.22 and I just upgraded everything to 0.23 and the
>> same exact thing happens with both, so I'm assuming its a setting or
>> something somewhere, I just can't for the life of me figure out what
>> or where.
>>
>> anyone encounter a similar occurrence and know what's going on?
>>
>> thanks!
>>
>
> System times that differ on the frontend(s)/backend(s), NFS configuration
> issues for recordings directories, $HOME/.mythtv/*cache issues (permissions,
> slowness due to NFS configuration issues) can all cause the behavior you're
> seeing.  Might also be able to cause if with misconfigured storage groups
> (such as using different mount points for the same directories on different
> hosts).
>
> Mike

Except for my macbook, all stuff shared across (linux) machines are
all mounted in the same place , all users have the same uid/gid's, etc
I tried clearing out all the $HOME/.mythtv/*cache on the slow machine,
no difference.

the directories that are compromise storage groups exist on all the
machines (except on my MacBook, which oddly enough is the one that
works the best).

in the frontend that is slow I get the following in the log when I go
into the watch recordings screen:
2010-05-08 17:54:15.591 MythSocket(9628e98:56): Unable to lookup:
2010-05-08 17:54:15.591 RemoteFile::openSocket(control socket), Error:
			Could not connect to server :6543
2010-05-08 17:54:15.592 MythSocket(962d3e0:56): Unable to lookup:
2010-05-08 17:54:15.592 RemoteFile::openSocket(file data socket), Error:
			Could not connect to server :6543
2010-05-08 17:54:15.593 MythSocket(ffffffffa9608ae8:56): Unable to lookup:
2010-05-08 17:54:15.593 RemoteFile::openSocket(control socket), Error:
			Could not connect to server :6543
2010-05-08 17:54:15.594 MythSocket(ffffffffa9609058:56): Unable to lookup:
2010-05-08 17:54:15.594 RemoteFile::openSocket(file data socket), Error:
			Could not connect to server :6543

Here is the rest of the log from mythfrontend starting to going into
the watch recordings screen and moving up and down the list:
2010-05-08 18:34:42.515 mythfrontend version:
branches/release-0-23-fixes [24486] www.mythtv.org
2010-05-08 18:34:42.515 Using runtime prefix = /usr
2010-05-08 18:34:42.515 Using configuration directory = /home/mythtv/.mythtv
2010-05-08 18:34:43.205 Unable to read configuration file mysql.txt
2010-05-08 18:34:43.205 Empty LocalHostName.
2010-05-08 18:34:43.205 Using localhost value of mythcenter
2010-05-08 18:34:43.214 New DB connection, total: 1
2010-05-08 18:34:43.214 Unable to connect to database!
2010-05-08 18:34:43.214 Driver error was [1/2002]:
QMYSQL: Unable to connect
Database error was:
Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)


2010-05-08 18:34:43.443 UPnPautoconf() - Found one UPnP backend
2010-05-08 18:34:43.573 Testing network connectivity to '192.168.1.151'
2010-05-08 18:34:43.579 Closing DB connection named 'DBManager0'
2010-05-08 18:34:53.607 Connected to database 'mythconverg' at host:
192.168.1.151
2010-05-08 18:34:53.609 Closing DB connection named 'DBManager0'
2010-05-08 18:34:53.621 DPMS is disabled.
2010-05-08 18:34:53.623 Primary screen: 0.
2010-05-08 18:35:03.644 Connected to database 'mythconverg' at host:
192.168.1.151
2010-05-08 18:35:03.646 Using screen 0, 1920x1200 at 0,0
2010-05-08 18:35:03.673 Desktop video mode: 1920x1200 59.952 Hz
2010-05-08 18:35:03.745 MythUI Image Cache size set to 20971520 bytes
2010-05-08 18:35:03.766 Enabled verbose msgs: important general
2010-05-08 18:35:03.791 Starting mythlcdserver
2010-05-08 18:35:04.304 Connecting to lcd server: 127.0.0.1:6545 (try 1 of 10)
2010-05-08 18:35:04.805 Connecting to lcd server: 127.0.0.1:6545 (try 2 of 10)
2010-05-08 18:35:05.305 Connecting to lcd server: 127.0.0.1:6545 (try 3 of 10)
2010-05-08 18:35:05.805 Connecting to lcd server: 127.0.0.1:6545 (try 4 of 10)
2010-05-08 18:35:06.306 Connecting to lcd server: 127.0.0.1:6545 (try 5 of 10)
2010-05-08 18:35:06.806 Connecting to lcd server: 127.0.0.1:6545 (try 6 of 10)
2010-05-08 18:35:07.306 Connecting to lcd server: 127.0.0.1:6545 (try 7 of 10)
2010-05-08 18:35:07.807 Connecting to lcd server: 127.0.0.1:6545 (try 8 of 10)
2010-05-08 18:35:08.307 Connecting to lcd server: 127.0.0.1:6545 (try 9 of 10)
2010-05-08 18:35:08.807 Connecting to lcd server: 127.0.0.1:6545 (try 10 of 10)
2010-05-08 18:35:09.313 Primary screen: 0.
2010-05-08 18:35:09.314 Using screen 0, 1920x1200 at 0,0
2010-05-08 18:35:09.315 Using theme base resolution of 1280x720
2010-05-08 18:35:09.336 LIRC: Successfully initialized '/dev/lircd'
using '/home/mythtv/.mythtv/lircrc' config
2010-05-08 18:35:09.337 JoystickMenuThread Error: Joystick disabled -
Failed to read /home/mythtv/.mythtv/joystickmenurc
2010-05-08 18:35:09.429 Using Frameless Window
2010-05-08 18:35:09.429 Using Full Screen Window
2010-05-08 18:35:09.673 Using the OpenGL painter
2010-05-08 18:35:10.061 XMLParseBase: Loaded base theme from
'/usr/share/mythtv/themes/blue-abstract-wide/base.xml'
2010-05-08 18:35:10.127 XMLParseBase: Loaded base theme from
'/usr/share/mythtv/themes/default-wide/base.xml'
2010-05-08 18:35:10.158 XMLParseBase: Loaded base theme from
'/usr/share/mythtv/themes/default/base.xml'
2010-05-08 18:35:10.396 Current MythTV Schema Version (DBSchemaVer): 1254
2010-05-08 18:35:10.516 WARNING: The theme (bando-blue) is missing a
themeinfo.xml file, ignoring.
2010-05-08 18:35:10.851 WARNING: The theme (bando-blue) is missing a
themeinfo.xml file, ignoring.
2010-05-08 18:35:10.998 Theme Willi missing preview image.
2010-05-08 18:35:11.407 Registering Internal as a media playback plugin.
2010-05-08 18:35:11.467 Cannot load language en_us for module mytharchive
2010-05-08 18:35:11.470 Cannot load language en_us for module mythbrowser
2010-05-08 18:35:11.478 Registering WebBrowser as a media playback plugin.
2010-05-08 18:35:11.478 Cannot load language en_us for module mythbrowser
2010-05-08 18:35:11.552 MonitorRegisterExtensions(0x100, gif,jpg,png)
2010-05-08 18:35:11.552 Cannot load language en_us for module mythgallery
2010-05-08 18:35:11.559 Inserting MythGame initial database information.
2010-05-08 18:35:11.560 New DB connection, total: 2
2010-05-08 18:35:24.643 Connected to database 'mythconverg' at host:
192.168.1.151
2010-05-08 18:35:24.645 Upgrading to MythGame schema version 1011
2010-05-08 18:35:24.646 DB Error (Performing database upgrade):
Query was: CREATE TABLE gamemetadata (  system varchar(128) NOT NULL
default '',  romname varchar(128) NOT NULL default '',  gamename
varchar(128) NOT NULL default '',  genre varchar(128) NOT NULL default
'',  year varchar(10) NOT NULL default '',  publisher varchar(128) NOT
NULL default '',  favorite tinyint(1) default NULL,  rompath
varchar(255) NOT NULL default '',  gametype varchar(64) NOT NULL
default '',  diskcount tinyint(1) NOT NULL default '1',  country
varchar(128) NOT NULL default '',  crc_value varchar(64) NOT NULL
default '',  display tinyint(1) NOT NULL default '1',  version
varchar(64) NOT NULL default '',  KEY system (system),  KEY year
(year),  KEY romname (romname),  KEY gamename (gamename),  KEY genre
(genre));
Error was: Driver error was [2/1050]:
QMYSQL3: Unable to execute statement
Database error was:
Table 'gamemetadata' already exists

new version: 1011
2010-05-08 18:35:24.646 Couldn't upgrade database to new schema, exiting.
2010-05-08 18:35:24.646 Unable to initialize plugin 'mythgame'.
2010-05-08 18:35:24.651 Cannot load language en_us for module mythmovies
2010-05-08 18:35:24.675 Current MythMusic Schema Version
(MusicDBSchemaVer): 1017
2010-05-08 18:35:24.781 MonitorRegisterExtensions(0x40,
mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mka,aiff,swa,wv)
2010-05-08 18:35:24.797 Cannot load language en_us for module mythmusic
2010-05-08 18:35:24.813 Current MythVideo Schema Version
(mythvideo.DBSchemaVer): 1032
2010-05-08 18:35:24.887 Cannot load language en_us for module mythvideo
2010-05-08 18:35:24.902 Cannot load language en_us for module mythweather
2010-05-08 18:35:24.907 XMLParseBase: Loading window theme from
/usr/share/mythtv/themes/blue-abstract-wide/menu-ui.xml
2010-05-08 18:35:24.921 Loading menu theme from
/home/mythtv/.mythtv/mainmenu.xml
2010-05-08 18:35:24.925 Found mainmenu.xml for theme 'blue-abstract-wide'
2010-05-08 18:35:24.964 Using NV NPOT texture extension
2010-05-08 18:35:25.065 MythContext: Connecting to backend server:
192.168.1.151:6543 (try 1 of 1)
2010-05-08 18:35:25.066 Using protocol version 56

2010-05-08 18:49:07.570 Loading menu theme from
/usr/share/mythtv/themes/defaultmenu//library.xml
2010-05-08 18:49:08.104 XMLParseBase: Loading window theme from
/usr/share/mythtv/themes/blue-abstract-wide/recordings-ui.xml
2010-05-08 18:49:08.586 MythContext: Connecting to backend server:
192.168.1.151:6543 (try 1 of 1)
2010-05-08 18:49:08.588 Using protocol version 56
2010-05-08 18:49:15.989 MythSocket(ffffffffb2439648:26): Unable to lookup:
2010-05-08 18:49:15.989 RemoteFile::openSocket(control socket), Error:
			Could not connect to server :6543
2010-05-08 18:49:15.991 MythSocket(ffffffffb2431058:26): Unable to lookup:
2010-05-08 18:49:15.991 RemoteFile::openSocket(file data socket), Error:
			Could not connect to server :6543
2010-05-08 18:49:15.992 MythSocket(ffffffffad7a5408:26): Unable to lookup:
2010-05-08 18:49:15.992 RemoteFile::openSocket(control socket), Error:
			Could not connect to server :6543
2010-05-08 18:49:15.994 MythSocket(ffffffffb2439648:26): Unable to lookup:
2010-05-08 18:49:15.994 RemoteFile::openSocket(file data socket), Error:
			Could not connect to server :6543


I don't see anything other than the socket errors at the end though.


-- 
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/index.php/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette -
http://www.mythtv.org/wiki/index.php/Mailing_List_etiquette


More information about the mythtv-users mailing list