[Spread-users] lost flooder messages

John Schultz jschultz at d-fusion.net
Fri May 9 13:21:12 EDT 2003

Could it be that Spread sometimes detects that you have left (broken 
pipe) before it actually sends your msgs out to the other daemons and 
therefore discards your msgs? This would explain all of the symptoms. On 
what kind of system are you running? On what kind of system is the 
daemon running? What kind of communication are you using to the daemon 
(TCP/IP remote or UNIX domain socket to local)?

BTW, Spread discarding your msgs like this, though not desirable, is 
allowed by the safety and liveness properties of the system. To gurantee 
that all of your messages are actually sent in the system, the sender 
must stay in the group until it receives back its own messages. You can 
do this by making your flooder both a sender and a receiver.


Kelvin Fedrick wrote:

> I just tried it and it doesn't seem to help.
> ./spflooder -m 500 send 500 messages with a sequence number and the spuser
> only received message 1 - 498. The number of messages received is variable;
> occassionally it gets them all but there are usually a few missing (e.g. 
> 4994 of 5000
> were received on a run I just made).
> Kelvin
> Joshua Goodall wrote:
>     On Thu, May 08, 2003 at 02:44:37PM -0600, Kelvin Fedrick wrote:
>      > I saw a few previous post on this from July 2002, but I never saw a
>      > definitive resolutions. We've experienced the same problem. We
>      > modified the spflooder to send a message sequence number and find
>      > that often a small percentage of messages at the end are never
>     delivered
>      >
>      > (e.g. 400 sent but only 398 delivered).
>      > Placing a 1 second sleep at the end of the flooder program
>     main(), just
>      > before exit seems to fix this. Also I haven't been able to
>     reproduce it
>      > so
>      > far running spflooder as write-only. Any ideas?
>     Instead of a sleep, does adding a SP_disconnect(Mbox) also fix it
>     for you?
>     J
>     -- 
>     Joshua Goodall                                      "tea makes itself"
>     joshua at roughtrade.net                                       - Ana Susanj

More information about the Spread-users mailing list