Author |
Message |
rigga
|
Posted: Sat Mar 18, 2006 4:04 pm |
|
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 |
|
 |
ceenvee703
|
Posted: Sat Mar 18, 2006 4:20 pm |
|
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 |
|
 |
tjc
|
Posted: Sat Mar 18, 2006 4:42 pm |
|
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 |
|
 |
rigga
|
Posted: Sun Mar 19, 2006 1:53 am |
|
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 |
|
 |
ceenvee703
|
Posted: Sun Mar 19, 2006 2:53 pm |
|
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 |
|
 |
tjc
|
Posted: Sun Mar 19, 2006 3:14 pm |
|
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 |
|
 |
ceenvee703
|
Posted: Sun Mar 19, 2006 4:31 pm |
|
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 |
|
 |
tjc
|
Posted: Sun Mar 19, 2006 6:22 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
|
Top |
|
 |
psicard
|
Posted: Sun Mar 19, 2006 6:37 pm |
|
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 |
|
 |
ceenvee703
|
Posted: Sun Mar 19, 2006 7:43 pm |
|
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 |
|
 |
RichP
|
Posted: Mon Mar 20, 2006 6:12 am |
|
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 |
|
 |
ceenvee703
|
Posted: Mon Mar 20, 2006 7:02 am |
|
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 |
|
 |
RichP
|
Posted: Mon Mar 20, 2006 8:22 am |
|
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 |
|
 |
Human
|
Posted: Mon Mar 20, 2006 1:01 pm |
|
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 |
|
 |
ceenvee703
|
Posted: Tue Mar 21, 2006 11:31 am |
|
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location:
Virginia, USA
|
|
Top |
|
 |