search for: fd_read_line_nb

Displaying 2 results from an estimated 2 matches for "fd_read_line_nb".

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
...ing the message. The function handle_admin function has a while loop that prints the message which is llike 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_...