[Spread-users] lost flooder messages

Kelvin Fedrick Kelvin.Fedrick at noaa.gov
Fri May 9 19:24:16 EDT 2003



Yair Amir wrote:

> Ok, so a different client - not spflooder but a regular spuser does
> not receive all the messages. This should not happen.
> Do you let that spuser stay up for a while and it still does
> not receive the messages?

I leave the spuser up afterward. I've also tried running the "receive a
message (stuck)" option afterward with no luck.

>
> (if a client does not keep up, spread is buffering up to 1000 messages
> for it, but then will try to send to it only in a few second)
> so just to make sure:
>
> 1. you send 10000 messages by your modified spflooder
> 2. the spuser that joins the "flooder" group ahead of time
>    only receives the first 9994 messages even if you leave it running
>    for a while after spflooder exited.
>
>    Is this correct?

That's correct except we've been testing with fewer messages sent (i.e. spflooder -m 500).

>
>    Also, try to send a message to "flooder" group by spuser after
>    the modified spflooder exited  and see if you get that message.

I've tried this as well. It succeeds at getting the new message. Furthermore,
if I rerun spflooder again without restarting the spuser, it receives the new
messages, but again usually with the last few missing.

>
>
>    Also, I am not sure in which program you added a "sleep" that
>    bypassed the problem.
>

A sleep(1) was added to flooder.c in main() just after the printf("flooder completed multicast of
...
call and before the 'return 0'.

>
>    Also, specify exactly how you connected with Spread (IPC or TCP)
>    and wether locally or remotely for any client that connected to
>    spread in this experiment. Also, how many daemons you have in the
>    system and which client connects to which daemon.

In the current configuration, just one daemon with both spuser and spflooder all
running on a Linux box. We have tried other configurations with remotely connected
clients with the same results.

Interestingly, I've just noticed that spflooder -m 10000 seems to work. We had been
testing with fewer messages and 'spflooder -m 500' consistently comes up short with
spuser only receiving the first 498 of 500 messages.

Kelvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.spread.org/pipermail/spread-users/attachments/20030509/b3409a7e/attachment.html 


More information about the Spread-users mailing list