[Spread-users] spread delay problem

Adrian Revill adrian.revill at shazamteam.com
Fri Nov 7 02:10:02 EST 2008


I have done some more investigation.
Im my test setup, In the logs i could see every cycle of work results in 
a request for the token to be sent. As within the few milli seconds the 
token has rotated 4 times and the leader has stopped Obviously my 
network is just too fast!

We have looked hard for any sign of packet loss, but every statistic we 
can find on the boxes and the cisco switch report zero errors and zero 
packets lost.

So my only conclusion is there must be an edge case where one of the 
daemons looses the token, or the leader is ignoring the hurry. Maybe 
some sort of race condition.

When logging the PROTOCOL does any one know what it means when the 
leader "swallows" the token?


Mike Perik wrote:
> If I remember correctly, I came to the conclusion, by looking at the code, that the facility to get the leader to release the token was broken.  No one would confirm this and it was dismissed as not a bug.
>
> The only way I got it to work reasonably well was to make the producer the leader and modifying the timeouts.
>
> Mike
>
>
>
> --- On Thu, 11/6/08, John Lane Schultz <jschultz at spreadconcepts.com> wrote:
>
>   
>> From: John Lane Schultz <jschultz at spreadconcepts.com>
>> Subject: Re: [Spread-users] spread delay problem
>> To: adrian.revill at shazamteam.com, spread-users at lists.spread.org
>> Date: Thursday, November 6, 2008, 2:12 PM
>> It definitely sounds like you are losing the token.  You can
>> use spmonitor
>> to connect to the daemons and see what kind of losses they
>> have.  You can
>> also lower the Hurry_timeout, set at the top of
>> membership.c, to reduce how
>> long the pauses from a loss of token take.  On a LAN you
>> could try something
>> like 10-100ms depending on the size of your configuration
>> (bigger ->
>> longer).
>>
>> Cheers!
>>
>> ---
>> John Lane Schultz
>> Spread Concepts LLC
>> Phn: 443 838 2200 
>> -----Original Message-----
>> From: spread-users-bounces at lists.spread.org
>> [mailto:spread-users-bounces at lists.spread.org] On Behalf Of
>> Adrian Revill
>> Sent: Thursday, November 06, 2008 11:39 AM
>> To: spread-users at lists.spread.org
>> Subject: [Spread-users] spread delay problem
>>
>> I found a similar problem to mine on these lists 
>> http://lists.spread.org/pipermail/spread-users/2004-December/002367.html
>>
>> Did anyone ever get a solution?
>>
>> regards
>>
>> Adrian
>>
>> ______________________________________________________________________
>> This email has been scanned by the MessageLabs Email
>> Security System.
>> For more information please visit
>> http://www.messagelabs.com/email 
>> ______________________________________________________________________
>>
>> _______________________________________________
>> Spread-users mailing list
>> Spread-users at lists.spread.org
>> http://lists.spread.org/mailman/listinfo/spread-users
>>
>>
>>
>> _______________________________________________
>> Spread-users mailing list
>> Spread-users at lists.spread.org
>> http://lists.spread.org/mailman/listinfo/spread-users
>>     
>
>
>       
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________
>   

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________




More information about the Spread-users mailing list