Displaying 3 results from an estimated 3 matches for "ice_strlen".
2004 Aug 06
3
99% cpu usage help
I think the problem is that your icecast is wrong configured.
If it has an configuratrion error that dows not shut it down at startup,
it takes 99,9% cpu usage (thats my problem with, for example, a wrong path
to configuration file at startup, or something like this).
Greets,
Stefan
----- Original Message -----
From: "Tim Hart" <heytph@yahoo.com>
To: <icecast@xiph.org>
2004 Aug 06
0
99% cpu usage help
...like this.
while (con->food.admin->alive && thread_alive (mt)) {
/* con->sock will be STDOUT, so special case reading
to use STDIN */
if (fd_read_line_nb(fileno(stdin), line, BUFSIZE))
handle_admin_command (con, line, ice_strlen
(line));
else
fd_write_line (con->sock, "You can run, but
you can't hide!");
}
I added a system ("sleep 5"); before the fd_write_line... function
call and it brought my CPU percentage down to nothing.
Keep in mind that I...
2004 Aug 06
5
Missing headers in Icecast2
Hi Karl,
Thanks for your help,
About the "Connection:" header, you are right, it's:
"Connection: close" and NOT "Connection: keep-alive". The protocol when the
SERVER sends the data is http 1.0. It's http 1.1 when the browser requests
the data.
I don't understand the "Content-Length: 54000000" header either. Also I
noticed the flash player on