View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: R5B7 Very sluggish
PostPosted: Sat Mar 18, 2006 4:04 pm 
Offline
Joined: Wed May 18, 2005 2:57 am
Posts: 63
has anyone else found it to be sluggish? if I go in to the guide it take about 30 seconds for anything to appear and then scrolling down the guide listings is painfully slow. It was never this slow before..., I did an auto upgrade which didnt seem to work so then did and auto install and restored my settings from a back up, anyone have any ideas why its so slow?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 18, 2006 4:20 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
I had the same problem (some kind of hangup with the initial auto-upgrade I tried to do, then a second auto-upgrade seemed to go fine) and see similarly very slow performance of MythWeb. Not sure they are related, though.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 18, 2006 4:42 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
You may be having an icons problem that a couple of testers saw. If this is what's causing it, dumping your channel information and then refetching the lineups with mythtv-setup and running su - mythtv "mythfilldatabase --quiet" should cure it.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 1:53 am 
Offline
Joined: Wed May 18, 2005 2:57 am
Posts: 63
I did a full reinstall and had the same problems with the guide listings so deleted all the paths to the channel icons as suggested and now it works fine.

This leads me to a new question - is it possible to remove the space that was occupied by the channel logo in the guide so I can get the channels full name displayed there without being cut off

As always thanks for your help


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 2:53 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
rigga wrote:
so deleted all the paths to the channel icons as suggested and now it works fine.


Can you describe your steps for doing this deletion?

I tried these steps described by Human in another thread:

Code:
mkdir -p /root/.mythtv
ln -fs /home/mythtv/.mythtv/channels/ /root/.mythtv/channels


but it did not help. It appears it's because my ~/.mythtv/channels/ directory is empty since I just had that brainstorm and checked.

I cleared and reloaded my channel listings after my auto-upgrade. (Note: I did have the (I think) corresponding problem of the install scripts asking me for my zip code.) I just reran mythfilldatabase: still slow.

Do I need to do this instead?

Code:
/bin/rm -f /tmp/channel.txt
mysqldump --opt mythconverg --tab=/tmp channel
sed -i "s/root/home\/mythtv/" /tmp/channel.txt
mysqlimport -l -L -r mythconverg /tmp/channel.txt


(gotten from another post from Human)

Better yet, how would I download the icons rather than set them to be ignored?


Last edited by ceenvee703 on Sun Mar 19, 2006 3:28 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 3:14 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
They should come when you run mythfilldatabase as the mythtv user. Undo that link first since mythtv won't have the privileges to overwrite stuff that root might do there.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 4:31 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
Please check if I've done something wrong.

Code:
cd /root/.mythtv/channels/
root@mythtv:~/.mythtv/channels# rm channels
rm: remove symbolic link `channels'? y
root@mythtv:~/.mythtv/channels# ls
root@mythtv:~/.mythtv/channels# exit
exit
mythtv@mythtv:~ $ su - mythtv "mythfilldatabase --quiet"
Password:
--16:31:48--  http://datadirect.webservices.zap2it.com/tvlistings/xtvdService
           => `/tmp/mythpostuj8Iwi'
Resolving datadirect.webservices.zap2it.com... 206.18.98.160
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]

    [ <=>                                 ] 613           --.--K/s

16:31:49 (5.85 MB/s) - `/tmp/mythpostuj8Iwi' saved [613]

mythtv@mythtv:~ $ cd .mythtv/channels
mythtv@mythtv:~/.mythtv/channels $ ls
mythtv@mythtv:~/.mythtv/channels $


So that directory still appears to be empty and my MythWeb speed is still slow.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 6:22 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Dunno. Have you tried this: http://www.knoppmythwiki.org/index.php?page=ChannelIconsHowTo


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 6:37 pm 
Offline
Joined: Mon Nov 28, 2005 10:44 am
Posts: 137
Location: Austin, TX
I was having similar guide problems due to MIA channel icons. I didn't need to follow the directions in the Wiki.
I just opened a terminal window and typed
Code:
perl mkiconmap.pl

and that fixed them for me.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 7:43 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
Thank you both; I now have most icons in my program guide. That seems to be displaying somewhat faster, but the recorded programs page (which doesn't appear to have any channel icons on it) is still displaying a lot slower than before. I will continue to look around for possible answers. Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 20, 2006 6:12 am 
Offline
Joined: Wed Nov 10, 2004 12:28 am
Posts: 91
Location: NJ
If you run mythbackend from a X window and access the recorded programs you should be able to see in real time why its having a problem.
(possibly missing thumbnails)


I had a similar problem when I upgraded because I changed my backend name when doing the upgrade. The DB still had references to the old backend name with older recorded programs. I went into the DB cleaned that up and all was fine.

Hope this helps.

Rich



ceenvee703 wrote:
Thank you both; I now have most icons in my program guide. That seems to be displaying somewhat faster, but the recorded programs page (which doesn't appear to have any channel icons on it) is still displaying a lot slower than before. I will continue to look around for possible answers. Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 20, 2006 7:02 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
RichP wrote:
I had a similar problem when I upgraded because I changed my backend name when doing the upgrade. The DB still had references to the old backend name with older recorded programs. I went into the DB cleaned that up and all was fine.


I'll bet that happened to me too: I have a feeling my backend used to be "mbe" and when I did the upgrade I left it at the "mythtv" default.

Do you have any MySQL code that you used to "clean that up" or did you do it manually with Webmin or something similar?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 20, 2006 8:22 am 
Offline
Joined: Wed Nov 10, 2004 12:28 am
Posts: 91
Location: NJ
I did it manually from my Windoze PC using one of the MySQL admin programs...I think you could do it from Webmin as well.

I'm sure it could be done via a simple command line but I am not skilled in MySQL at all.

I can take a look later at what table I had to modify if you don't find it by then.

Rich


ceenvee703 wrote:
RichP wrote:
I had a similar problem when I upgraded because I changed my backend name when doing the upgrade. The DB still had references to the old backend name with older recorded programs. I went into the DB cleaned that up and all was fine.


I'll bet that happened to me too: I have a feeling my backend used to be "mbe" and when I did the upgrade I left it at the "mythtv" default.

Do you have any MySQL code that you used to "clean that up" or did you do it manually with Webmin or something similar?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 20, 2006 1:01 pm 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
Any Program Guide slowness is directly in proportion to the number of channel icons that don't exist. There is code in B7 that is supposed to have addressed this, since it explicitly re-downloads all your channel icons for you. If that process failed, I don't have an explanation for it at this time.

A quick fix to wipe out your channel icons:

Code:
mythfilldatabase --reset-icon-map all


Run it as root, just in case.

If you re-acquired channel icons and there is still slowness, I strongly suspect this is because you did not re-acquire channel icons for all your channels. If so, erase all channel icons using the above command, and then re-acquire them as you did before.

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 21, 2006 11:31 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
I also found the following thread in mythtv-user that suggests editing programs.php to remove some unneeded code to speed up display.

http://www.gossamer-threads.com/lists/m ... 948#190948


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 37 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu