[icecast] admin 'rehash' broken in icecast 1.3.12?

Dave Hayes dave at jetcafe.org
Mon Apr 22 17:25:43 UTC 2002



Beau D Simensen <simensen at halogen.org> writes:
> I tried admin rehash for the first time since upgrading to 1.3.12 today. The
> rehash took at least 30 seconds [If not longer -- I didn't time it very
> closely] and icecast slowly snuck up to 99% CPU usage. I tried issuing the
> 'alias' command just to try and get a response from the console and that
> never responded. [I waited about two minutes]

I don't know if this will help, but you can try it. It certainly won't
hurt. =)

*** avl_functions.c     2002/04/11 06:22:04     1.1
--- avl_functions.c     2002/04/11 06:23:35
***************
*** 307,313 ****
        }
  
        snprintf(s1, BUFSIZE, "%s:%d", dir1->host, dir1->port);
!       snprintf(s2, "%s:%d", dir2->host, dir2->port);
  
        return compare_strings (s1, s2, param);
  }
--- 307,313 ----
        }
  
        snprintf(s1, BUFSIZE, "%s:%d", dir1->host, dir1->port);
!       snprintf(s2, BUFSIZE, "%s:%d", dir2->host, dir2->port);
  
        return compare_strings (s1, s2, param);

------
Dave Hayes - Consultant - Altadena CA, USA - dave at jetcafe.org 
>>> The opinions expressed above are entirely my own <<<

We may eventually come to realize that chastity is no more a virtue
than malnutrition.
                -- Alex Comfort

<p><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 at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast mailing list