search for: thread_alive

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

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
...can't hide" lines over and over in the icecast.out file. I tracked it down in the code and found src/admin.c was printing 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...