[mythtv-users] Mythweb Slow to Render Program Detail Page as Selected From Recorded Programs page

Mache Creeger mache at creeger.com
Thu Mar 4 20:01:53 UTC 2010


At 05:14 PM 2/25/2010, you wrote:
>At 01:59 PM 2/25/2010, Johnny Walker wrote:
>>On Thu, Feb 25, 2010 at 3:39 PM, Tom Dexter 
>><digitalaudiorock at gmail.com> wrote:
>> > On Thu, Feb 25, 2010 at 4:25 PM, Johnny Walker 
>> <johnnyjboss at gmail.com> wrote:
>> >>> What does the system's free memory look like while you're doing this?
>> >>>
>> >>> -Johnny
>> >>
>> >>> The system is basically at 90% idle all the time. I have looked a the
>> >>> mythbackend.log and there is nothing there that would suggest 
>> a problem. The
>> >>> system has 1GB of memory and 4GB of swap and there is nothing 
>> in top to show
>> >>> that memory is a problem anywhere.
>> >>>
>> >>> -- Mache
>> >>
>> >> I had 2 Gigs of Ram in my backend and I was starting to swap to disk
>> >> when I used mythweb. I added 2 more gigs and now mythweb doesn't cause
>> >> me to swap out to disk. Using swap memory is much slower than actual
>> >> memory. The problem is compounded if you're running mysql-server,
>> >> Apache, mythbackend and the OS all on 1 physical hard drive.
>> >>
>> >> Swap is slow - I would avoid using it if you can.
>> >>
>> >> -Johnny
>> >
>> > For what it's worth, my backend has 512MB of ram and I've never had a
>> > problem with it or with mythweb.  What sort of activity in mythweb was
>> > causing that sort of memory use?  If that were typical it would have
>> > used up my ram and swap which would most likely have brought the
>> > machine down.  I think that program searches in 0.21 used to be broken
>> > and would reach the php maximum allowed memory.
>> >
>> > Tom
>>
>>Great - now I've got another problem to look into.
>>
>>-Johnny
>
>I have looked at every log available and will run mysql with debug 
>logging turned on, but I am stumped as to why this is happening. It 
>takes 5 minutes to render and its like its waiting for something to 
>time out before it goes forward. I do not believe the problem is 
>that I am running out of memory and swapping.
>
>-- Mache

Here is the /var/log/httpd/access_log log. I have highlighted the 
area where the long Mythweb wait time occurs. What does Mythweb have 
to do to produce the following log item and how can I speed it up?

192.168.1.99 - user [04/Mar/2010:11:43:08 -0800] "GET 
/tv/flowplayer-3.1.1.swf?0.02433572888925295 HTTP/1.1" 200 105958 
"http://host/tv/detail/2009/1267657200" "Mozilla/5.0 (Windows; U; 
Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET 
CLR 2.0.50727)"

-- Mache

192.168.1.99 - user [04/Mar/2010:11:40:22 -0800] "GET 
/data/tv_icons/amc.jpg HTTP/1.1" 200 6517 "http://host/tv/recorded" 
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) 
Gecko/20100202 Firefox/3.5.8 (.NET CLR 2.0.50727)"

192.168.1.99 - user [04/Mar/2010:11:40:22 -0800] "GET 
/data/tv_icons/cartoon_network.jpg HTTP/1.1" 200 8594 
"http://host/tv/recorded" "Mozilla/5.0 (Windows; U; Windows NT 5.1; 
en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET CLR 2.0.50727)"

192.168.1.99 - user [04/Mar/2010:11:40:22 -0800] "GET 
/data/tv_icons/starz_cinema.jpg HTTP/1.1" 200 6305 
"http://host/tv/recorded" "Mozilla/5.0 (Windows; U; Windows NT 5.1; 
en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET CLR 2.0.50727)"

192.168.1.99 - user [04/Mar/2010:11:40:22 -0800] "GET 
/data/tv_icons/dsc.gif HTTP/1.1" 200 529 "http://host/tv/recorded" 
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) 
Gecko/20100202 Firefox/3.5.8 (.NET CLR 2.0.50727)"

192.168.1.99 - user [04/Mar/2010:11:40:22 -0800] "GET 
/tv/get_pixmap/HOST.DOMAIN.COM/1009/1245207600/100/75/64/1009_20090616200000.mpg.100x75x64.png 
HTTP/1.1" 200 10921 "http://host/tv/recorded" "Mozilla/5.0 (Windows; 
U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 
(.NET CLR 2.0.50727)"

192.168.1.99 - user [04/Mar/2010:11:40:22 -0800] "GET 
/tv/get_pixmap/HOST.DOMAIN.COM/1042/1245049200/100/75/64/1042_20090615000000.mpg.100x75x64.png 
HTTP/1.1" 200 8730 "http://host/tv/recorded" "Mozilla/5.0 (Windows; 
U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 
(.NET CLR 2.0.50727)"

192.168.1.99 - user [04/Mar/2010:11:40:22 -0800] "GET 
/tv/get_pixmap/HOST.DOMAIN.COM/1002/1245036600/100/75/64/1002_20090614203000.mpg.100x75x64.png 
HTTP/1.1" 200 12402 "http://host/tv/recorded" "Mozilla/5.0 (Windows; 
U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 
(.NET CLR 2.0.50727)"

192.168.1.99 - user [04/Mar/2010:11:40:22 -0800] "GET 
/tv/get_pixmap/HOST.DOMAIN.COM/1042/1244804400/100/75/64/1042_20090612040000.mpg.100x75x64.png 
HTTP/1.1" 200 14288 "http://host/tv/recorded" "Mozilla/5.0 (Windows; 
U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 
(.NET CLR 2.0.50727)"

192.168.1.99 - user [04/Mar/2010:11:40:04 -0800] "GET 
/tv/get_pixmap/HOST.DOMAIN.COM/2009/1267621200/100/75/64/2009_20100303050000.mpg.100x75x64.png 
HTTP/1.1" 200 - "http://host/tv/recorded" "Mozilla/5.0 (Windows; U; 
Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET 
CLR 2.0.50727)"

192.168.1.99 - user [04/Mar/2010:11:40:08 -0800] "GET 
/tv/detail/2009/1267657200 HTTP/1.1" 200 16670 
"http://host/tv/recorded" "Mozilla/5.0 (Windows; U; Windows NT 5.1; 
en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET CLR 2.0.50727)"

<<----------------------------------Long wait 
time------------------------------------------------------------>>

192.168.1.99 - user [04/Mar/2010:11:43:08 -0800] "GET 
/tv/flowplayer-3.1.1.swf?0.02433572888925295 HTTP/1.1" 200 105958 
"http://host/tv/detail/2009/1267657200" "Mozilla/5.0 (Windows; U; 
Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET 
CLR 2.0.50727)"

192.168.1.99 - user [04/Mar/2010:11:43:08 -0800] "GET 
/tv/flowplayer-3.1.1.swf?0.02433572888925295 HTTP/1.1" 200 105958 
"http://host/tv/detail/2009/1267657200" "Mozilla/5.0 (Windows; U; 
Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET 
CLR 2.0.50727)"

192.168.1.99 - user [04/Mar/2010:11:43:08 -0800] "GET 
/tv/flowplayer.controls-3.1.1.swf HTTP/1.1" 200 25966 "-" 
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) 
Gecko/20100202 Firefox/3.5.8 (.NET CLR 2.0.50727)"

192.168.1.99 - user [04/Mar/2010:11:43:09 -0800] "GET 
/tv/get_pixmap/HOST.DOMAIN.COM/2009/1267657200/320/240/64/2009_20100303150000.mpg.320x240x64.png 
HTTP/1.1" 200 88309 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; 
en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET CLR 2.0.50727)"


[root at DIGIT mythtv]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100304/9e52e575/attachment.htm>


More information about the mythtv-users mailing list