dino
User
| Posts: 15 |   |

|
Slow performance on linux/apache - 2009/10/21 07:01
Hi, I'm not a php programmer, that's why I'm asking for help. When I try to open a TV Serie or even a Video walking through the menus, it takes a long time before the images are displayed. I have the following debug log: As you can see, it takes for more than 30seconds to convert/resize the image.
I'm running SwissCenter on a Synology DS. The installation is done on a newly installed apache server (not the built in one) to have all modules available. Does anyone has a clue why it's taking so long?
Another problem. When I run SwissCenter on the built-in webserver (apache), then my movies/music start without any problem on my PCH A110. when I run Swisscenter on the apache server from optware, the PCH fails to start video/music (blank screen - buffering, and returns to the previous menu with a "failed to start video" message)
[2009.10.21 12:50:57] Page Requested : http://ip-address:8050/tv_selected.php?programme=xx&cat= by client (client-ip) [2009.10.21 12:50:58] Stretching /volume1/web/swisscenter//styles/KDE/background.jpg (1024,768) to (800,450) [2009.10.21 12:50:58] Built temporary image [2009.10.21 12:51:17] Resized/Stretched image [2009.10.21 12:51:17] Resizing /volume1/media/Video/TV Series/xx/banners/banner_3866-g.jpg (758,140) to fit (318.6,59). New size is (318.6,58) [2009.10.21 12:51:17] Built temporary image [2009.10.21 12:51:17] Resized/Stretched image [2009.10.21 12:51:17] Copying image to (238,18) [2009.10.21 12:51:17] Resizing /volume1/web/swisscenter//styles/KDE/red.gif (30,30) to fit (13,18). New size is (13,13) [2009.10.21 12:51:17] Built temporary image [2009.10.21 12:51:17] Resized/Stretched image [2009.10.21 12:51:17] Outputting PNG image [2009.10.21 12:51:17] Outputting JPEG image [2009.10.21 12:51:17] Resizing /volume1/media/Video/TV Series/xx/banners/series05_76290-5-3.jpg (400,578) to fit (224,248). New size is (171,248) [2009.10.21 12:51:17] Built temporary image [2009.10.21 12:51:21] Resized/Stretched image [2009.10.21 12:51:21] Outputting PNG image [2009.10.21 12:51:22] Resizing /volume1/web/swisscenter//styles/KDE/down.gif (20,10) to fit (32,9). New size is (18,9) [2009.10.21 12:51:22] Built temporary image [2009.10.21 12:51:22] Resized/Stretched image [2009.10.21 12:51:22] Outputting PNG image [2009.10.21 12:51:22] Cached file exists for /volume1/web/swisscenter//styles/KDE/a.gif at (36 x 25) [2009.10.21 12:51:22] Cached file exists for /volume1/web/swisscenter//styles/KDE/b.gif at (36 x 25) [2009.10.21 12:51:22] Cached file exists for /volume1/web/swisscenter//styles/KDE/c.gif at (36 x 25)
Thanks, Dino
Server: Synology Diskstation Swisscenter: Swisscenter 1.22 running on apache/mysql/php Players: PCH A110, Pinnacle ShowCenter250HD |