duplicates in views

cellerator - February 27, 2009 - 15:33
Project:Icecast Streaming Server
Version:6.x-1.3
Component:YP module
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hello,

Every time I restart my icecast server all the channels get added again and I can't seem to figure out how to fix that. I've been researching the issue which might have more to do with views than this module perhaps.

Setting the Distinct option to remove the duplicates, does not help in this case.

I've tried a bunch of old and new versions of views combined with the two releases of icecast for drupal 6 but the same issue shows up every time.

Is there a way, even not so elegant way to fix that? I'm not good with mysql but I guess I'll be resorting to manually clearing the duplicates after each restart.

#1

cellerator - February 27, 2009 - 22:57

ok that was fairly easy actually.

go to the yp_stream table, delete everything, restart icecast server - all is good until the next restart of course.
not a big problem, just something that has to be performed every time the server is stopped/restarted.
after the initial configuration/testing stages the icecast server shouldn't be restarted all that often, naturally.

#2

mfb - February 28, 2009 - 02:47

This is not how it should work. What version of icecast server are you using? Old versions have been buggy and allowed duplicate yp threads to run. And is cron running?

#3

cellerator - March 1, 2009 - 19:13

Using Icecast 2.3.2-kh8. Cron isn't running. I realize the "kh" is a work in progress so it's not in the trunk codebase, thus I shouldn't whine if something unexpected occurs ;)

Also using ezstream 0.5.3 for source, while having cron sighup-ing the ezstream every few minutes to reread the updated playlist files, although that probably has nothing to do with the problem, since it only occurs with icecast restarts.

#4

mfb - March 1, 2009 - 19:46

Old YP entries are only removed when cron runs. You could try running cron and see if this prunes the old entries.

If you turn on debug logging you could see if Icecast server is sending duplicate touches after restart. If so, it sounds like a bug in icecast.

I used to have some logic that removed old entries with the same listing_ip and listen_url when a new entry was added.. I took this out since it isn't technically correct to do so.. but could put it back if it's needed..

#5

sanduhrs - July 3, 2009 - 10:04
Priority:critical» normal
Status:active» fixed

No activity for more than 4 months, closing.
vg

#6

System Message - July 17, 2009 - 10:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.