PDA

View Full Version : Generating HTML taking Too Long



Tzvi
2007-03-15, 21:58
I keep running into underrun issues with my Squeezebox 1. I have noticed that around the same time, the HTTP log gives me the following:

2007-03-15 22:22:52.8244 More to send to 127.0.0.1
2007-03-15 22:22:52.8285 No more messages to send to 127.0.0.1
2007-03-15 22:22:52.8289 End request, connection closing for: HTTP::Daemon::ClientConn=GLOB(0x4291f5c)
2007-03-15 22:52:52.0043 Accepted connection 2 from 127.0.0.1
2007-03-15 22:52:52.6325 reading request...
2007-03-15 22:52:52.6334 HTTP request: from 127.0.0.1 (HTTP::Daemon::ClientConn=GLOB(0x2be3a68)) for GET HTTP/1.1 /browsedb.html?hierarchy=age,track&level=0
2007-03-15 22:52:52.6844 HTTP parameter hierarchy = age,track
2007-03-15 22:52:52.6939 HTTP parameter level = 0
2007-03-15 22:52:52.7425 processURL Clients: 192.168.1.171:9013
2007-03-15 22:52:52.8242 Generating response for (htm, text/html) browsedb.html
2007-03-15 22:52:52.8384 generating from include.html
2007-03-15 22:53:03.2878 generating from browsedb_pwdlist.html
2007-03-15 22:53:05.0003 generating from pagebarheader.html
2007-03-15 22:53:05.1247 generating from pagebarlist.html
2007-03-15 22:53:05.1575 generating from pagebarlist.html
2007-03-15 22:53:05.1659 generating from pagebar.html
2007-03-15 22:53:05.2640 generating from browsedb_list.html
2007-03-15 22:53:05.7814 generating from browsedb_list.html
2007-03-15 22:53:05.9078 generating from browsedb_list.html
***** A FEW DOZEN MORE LINES LIKE THIS *****
2007-03-15 22:53:07.2835 generating from browsedb_list.html
2007-03-15 22:53:07.3136 generating from browsedb_list.html
2007-03-15 22:53:07.3408 generating from browsedb_list.html
2007-03-15 22:53:07.3826 generating from browsedb_list.html
2007-03-15 22:53:07.4092 generating from browsedb.html
2007-03-15 22:53:07.8844 Generating page for browsedb.html took: 14 wallclock secs ( 1.15 usr + 0.79 sys = 1.94 CPU)
2007-03-15 22:53:08.0774 End request: keepAlive: [] - waiting for next request on connection = close

Should it takes a this long to do that? What can I do to speed it up?

mherger
2007-03-16, 01:43
> Should it takes a this long to do that? What can I do to speed it up?

14 seconds is very long - not to be expected. What's your setup: hardware,
operating system etc.?

--

Michael

-----------------------------------------------------------------
http://www.herger.net/SlimCD - your SlimServer on a CD
http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR

Tzvi
2007-03-16, 10:05
Windows XP
1.7ghz Pentium 4
256 RAM

funkstar
2007-03-16, 12:38
The RAM might be the kicker.

Is there a lot of disk thrashing when SS generates a page? I'm guessing your system is having to page quite a lot. XP will probably be paging SQL, which is a really bad thing.