[Icecast] Strange occurrence

William K. Volkman wkvsf at users.sourceforge.net
Fri Sep 8 19:46:44 UTC 2006


You mentioned that your systems are running Fedora Core.
At 4:00 every morning cron runs the updatedb script to
update the locate database.  That script looks for files on
all local files systems on the machine.  When it does this
it causes starvation of memory so the kswap process activates,
while that process is looking for candidates to move to swap
space your regular user processes will observe stalls,
frequently on the order of 4 to 15 seconds.  This may
happen many times during the run of the updatedb script.
When I'm up late hacking I always end up taking a 10 to
15 minute break when 4:00 rolls around.  Move the
/etc/cron.daily/slocate.cron out of the daily directory
and I would think your problem would go away.

HTH,
William.

On Fri, 2006-09-08 at 07:24, Dick Trump wrote:
> Klaas wrote:
> >> A reconnect that lasts less than one minute is counted as continuous outage.  
>   
> > Do you mean 'more than one minute?'.
> 
> I didn't describe it fully.  If an outage is detected, the system attempts a reconnect immediately.  If a reconnect is established but is lost again without a full minute of audio, I don't log it as a reconnect.  Once a reconnect is established and holds for at least a minute, it is logged as being reconnected.
> 
> > One explanation could be that by 
> > coincidence they share some piece of networking equipment that failed on 
> > their network path to your icecast box while the windows machines didn't.
> 
> I see that as highly unlikely.  One of the Linux boxes sits next to the server and is on the same switch as serves the connection to the ISP.  All other clients have completely different ISP's from each for their connections, most on commercial ISP's providing DSL service.  A couple are on educational networks.
>  
> > Are the machines running a cron job to SYNC time (e.g. using ntpdate)? 
> 
> Yes.  Their clocks are updated hourly.  That makes the possibility of client based interruptions coincide if they are clock related.
> 
> > Could you detection procedure be fooled by a jump forward/backward in time?
> 
> Other than the logging time recorded on the client, I don't THINK that is likely.  But I would have to say that I don't fully understand the meaning of the parameter of the PID for MPG123 that I have found that seems to signal a disconnect.  It is entirely possible that the parameter can be fooled by an adjustment to the clock.  But I would guess that I would see on-the-hour problems on a more frequent basis.
> 
> On the other hand, all Linux clients poll the same time service for synchronization.  If that service did something unexpected, that might explain something.
> 
> I appreciate your exploring this with me but it is purely academic at this point and I'm probably boring the others.




More information about the Icecast mailing list