Page 1 of 1

Maximum of "allowed" channels

Posted: Tue May 17, 2005 10:21 pm
by Fussi
Hi

i have a dumb question...
What is the maximum amount of Channels in the "allowed" block? (if any..)
And if not a max, then maybe a performance issue or whatever..


-Fussi

Posted: Tue May 17, 2005 10:41 pm
by Stealth
The max number of channels will usually be:

Global Number of Clients * set::maxchannelsperuser = max number of channels

Other than that, I don't think there is any way of setting how many channels you will allow on your network. Maybe someone can make a simple module to count the channels on a pre-join and deny creation of channels if there is more than a certain number.

Posted: Tue May 17, 2005 10:53 pm
by w00t
I believe he's talking about allow channel { } blocks, in which case - I don't really think there is a limit.

Posted: Wed May 18, 2005 12:12 am
by Syzop
Right, just memory and CPU.
I don't suggest using more than, say, 75-150. The problem isn't really average cpu usage but rather peak cpu usage: like in case of a clone attack that randomly joins channels or when your server just boots up (again), in that case the ircd could spike to 100% which would be bad :P.