[Spread-users] Re:[Fwd: Re: [Spread-users] Spread

Daniel Rall dlr at finemaltcoding.com
Thu Feb 6 12:28:52 EST 2003


Daniel Rall <dlr at finemaltcoding.com> writes:

> Hi Cosimo.  I've found myself floating in the exact same boat which
> you're in now.  To extend the server's buffer, you can patch the
> Spread daemon like so:
> 
> Index: spread_params.h
> ===================================================================
> RCS file: /storage/cvsroot/spread/daemon/spread_params.h,v
> retrieving revision 1.4
> diff -u -u -r1.4 spread_params.h
> --- spread_params.h	24 Jan 2002 04:48:25 -0000	1.4
> +++ spread_params.h	1 Apr 2002 23:33:28 -0000
> @@ -74,7 +74,7 @@
>  #include        "sp_events.h"
>  #define		MAX_SESSIONS		( ( MAX_FD_EVENTS-5 ) / 2 ) /* reserves 2 for each connection */
>  
> -#define		MAX_SESSION_MESSAGES	1000
> +#define		MAX_SESSION_MESSAGES	5000
>  #define         MAX_GROUPS_PER_MESSAGE  100     /* Each multicast can't send to more groups then this */
>  
>  #endif /* INC_SPREAD_PARAMS */

Note that now that Spread has been autoconf'd, this #define should be
made settable via a --max-session-messages flag to configure (or
something of the sort).
-- 

Daniel Rall <dlr at finemaltcoding.com>




More information about the Spread-users mailing list