[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: connection rate in ircd? ( 2.10.3p3 )
No, that part is under control. I undefine both of them at the end of
config.h to make sure none of those limit the rate artificially. This is
for a load test, so I need to mimic multiple IPs connecting by using a
single source IP, and therefore disable all the clone and slow_accept
stuff. My problem is *really* elsewhere. Even with no connection speed
limitations I could see in ircd, I see max 5 clients/seconds on each
listen port.
TTimo
On Mon, 24 Nov 2003 00:32:43 +0100
"Mario 'BitKoenig' Holbe" <Mario.Holbe@xxxxxxxxxxxxxxxx> wrote:
> On Mon, Nov 24, 2003 at 12:02:30AM +0100, Timothee Besset wrote:
> > To perform those tests, I disabled both the SLOW_ACCEPT and CLONE_CHECK,
> > so that I can connect a lot of clients from localhost (to mimic what
>
> well, reading might help:
>
> from config.h:
>
> /*
> * Defining this will make the server check for rapid connections from a single
> ...
> * IMPORTANT: This **MUST** defined if SLOW_ACCEPT is NOT defined
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> */
> #define CLONE_CHECK
>
>
> and some lines below:
>
> #if !defined(SLOW_ACCEPT) && !defined(CLONE_CHECK)
> # define CLONE_CHECK
> # define CLONE_MAX 2
> # define CLONE_PERIOD 10
> #endif
>
>
> better redefine CLONE_MAX and CLONE_PERIOD.
>
>
> regards,
> Mario
> --
> Ho ho ho! I am Santa Claus of Borg. Nice assimilation all together!
>