Hi gang, I've searched through the archive and couldn't find help for
this one. I am running Cherokee on a Linksys NSLU2 and am trying to get
my weblog, online photo album and music catalog going. Superficially,
everything seems to be running well. Cherokee seems more stable and
less resource intensive than Apache and php-thttpd.
I have noticed one problem with PHP however, my music catalog is
organized via a PHP cgi script (KPlayList). Everything seems to run
fine except while streaming. When I am streaming music, I can request
other pages and cgi scripts up until the point that the stream is done
loading, then Cherokee stops responding until the connection is shut.
The process seems to go like this:
1. Stream starts via call to PHP streaming script
2. Winamp begins buffering the content
3. Winamp starts playing the content
4. Winamp has received the entire content of the mp3 file.
5. Winamp finishes playing the song.
6. Winamp closes the connection.
Between steps 4 and 6 Cherokee hangs for any other requests. As soon as
I stop play on winamp Cherokee becomes unfrozen and the other web
requests start. There is a zombie PHP process left over until the
stream is done.
This behavior seems specific to winamp. Winamp seems to hold the
connection open until the song stops playing. Windows media player seems
to end the connection as soon as the buffer is full, and doesn't cause
Cherokee to block.
I have tried both fifo and rr scheduling methods with no help.
Thanks! Any help will be appreciated.
--
_________________________________________________________
Michael E. Winter Ph.D.
Hawai`i Institute of Geophysics and Planetology
[EMAIL PROTECTED] Phone: (808) 956-3155; Fax: (808) 956-6322
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee