Geoff Shang
2004-Aug-06 14:23 UTC
[icecast] Icecast spawns processes when unable to contact YP
Hi: For the past few hours, www.oddsock.org/yp.cgi has been uncontactable. When I start the icecast server, it seems to perform very badly while trying to contact the YP server. After a couple of minutes, the streaming begins to work, but it starts spawning processes at the rate of a couple a minute. the following also starts appearing in the server log: [2003-04-08 10:26:28] DBUG geturl/curl_print_header_result SID -> () [2003-04-08 10:26:28] DBUG geturl/curl_print_header_result Message -> () [2003-04-08 10:26:28] DBUG geturl/curl_print_header_result Touch Freq -> (0) [2003-04-08 10:26:28] DBUG geturl/curl_print_header_result Response -> (0) [2003-04-08 10:26:28] EROR yp/yp_submit_url Got a NAK from yp_add(Unknown) (http://www.oddsock.org/cgi-bin/yp-cgi) [2003-04-08 10:26:28] DBUG geturl/curl_print_header_result SID -> () [2003-04-08 10:26:28] DBUG geturl/curl_print_header_result Message -> () [2003-04-08 10:26:28] DBUG geturl/curl_print_header_result Touch Freq -> (0) [2003-04-08 10:26:28] DBUG geturl/curl_print_header_result Response -> (0) [2003-04-08 10:26:28] EROR yp/yp_submit_url Got a NAK from yp_add(Unknown) (http://www.oddsock.org/cgi-bin/yp-cgi) [2003-04-08 10:26:59] DBUG geturl/curl_print_header_result SID -> () [2003-04-08 10:26:59] DBUG geturl/curl_print_header_result Message -> () [2003-04-08 10:26:59] DBUG geturl/curl_print_header_result Touch Freq -> (0) [2003-04-08 10:26:59] DBUG geturl/curl_print_header_result Response -> (0) [2003-04-08 10:26:59] EROR yp/yp_submit_url Got a NAK from yp_add(Unknown) (http://www.oddsock.org/cgi-bin/yp-cgi) There's normally 12 processes. during one go round, I killed it off at 52. Kirk who admins the system tells me it was impacting on performance when he first noticed it, so much so that he couldn't get a pid count. So he just killed it. I also noticed that when I kill it when it's in this state, it segfaults. Let me know if there's anything else I can say that will help debug this. I commented out the YP stuff and it fixed the problem. Geoff. <p> -- Geoff Shang <gshang@uq.net.au> ICQ number 43634701 Make sure your E-mail can be read by everyone! http://www.betips.net/etc/evilmail.html Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Michael Smith
2004-Aug-06 14:23 UTC
[icecast] Icecast spawns processes when unable to contact YP
On Wednesday 09 April 2003 02:07, Geoff Shang wrote:> Hi: > > For the past few hours, www.oddsock.org/yp.cgi has been uncontactable. > When I start the icecast server, it seems to perform very badly while > trying to contact the YP server. After a couple of minutes, the streaming > begins to work, but it starts spawning processes at the rate of a couple a > minute. the following also starts appearing in the server log:This sort of behaviour is why the yp servers aren't turned on by default. The yp code has very bad failure and performance characteristics. Mike --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.