[Spread-users] 1225

koorosh.alahiari at ids.allianz.com koorosh.alahiari at ids.allianz.com
Tue Mar 5 10:26:47 EST 2002


I have a client that generates the messages and I run spuser as another
that joins the group my program sends the messages to.
spuser printsout all the messages (up to 1225) BUT my program
does not try the to receive the messages that it is
sending itself.
Looks like things are happening too fast
for spread to handle correctly!

Regards - Koorosh

                    Guido van Rossum                                                                                                    
                    <guido at python.org>               To:     koorosh.alahiari at ids.allianz.com                                           
                    Sent by:                         cc:     spread-users at lists.spread.org                                              
                    spread-users-admin at lists.        Subject:     Re: [Spread-users] 1225                                               
                    05/03/02 16:18                                                                                                      

> I recently started using spread. As my first test I tried to send a
> 100,000 messages in a tight loop to a group. spread server
> consistently closes my connection after 1225 messages.  Anyone know
> a reason for this?

There are two potential issues.

If a receiver isn't reading fast enough, it will be disconnected when
the server finds it has over 1000 messages queued for that particular
connection.  This is a feature.

If a sender sends too much data too fast, a bug in Spread 3.16.1 may
cause the daemon to mistake this condition for a protocol error and
disconnect the sender.  This is fixed in 3.16.2 (which I think is in
CVS but not officially released?).

Search the Jan/Feb list archives for clues.

--Guido van Rossum (home page: http://www.python.org/~guido/)

Spread-users mailing list
Spread-users at lists.spread.org

More information about the Spread-users mailing list