Page 1 of 1

Link between HUB and LEAF work fine BUT don't split well

Posted: Sat Apr 02, 2005 9:10 am
by thehoesat
:lol:

I need help to resolve this problem, all it seems to work well hub and leaf
are well linked and working, when I have a total of 1500 clients, they are subdivided fairly between hub and leaf for example 703 on the leaf and
797 connected to the hub, but some time happens that as an example the
hub have 1010 connections and the leaf only 30 connections, and it seems that mine ircd it does not succeed to have new clients logons, i have two servers for a total of 2048 users some time i see 2000 users
and all work fine other times i have 1050 users and the others 950 try to connect to the ircd without success.

if you have the suggestions in order to resolve the problem.

Thank You in advance

Posted: Sat Apr 02, 2005 6:13 pm
by Jason
Try setting your class block limits for number of users a bit lower than the filedescriptor limit. Then use set::default-server, to forward new connections to the other ircd (this will automatically happen when the class block is filled, i believe)

Another, probably better option is to use some sort of DNS round-robin for load-ballancing. Google it

Posted: Sun Apr 03, 2005 4:54 am
by w00t
I'd say he's already using multiple A records, but the problem is it's random-- it doesn't take into account the load on each server.

Odd though taht one might go down to 30... :|

Posted: Sun Apr 03, 2005 8:04 am
by Dukat
Is it always the same server having all the users and the other none or does it change?

Maybe some sort of connection problems to one server?

Thank you

Posted: Sun Apr 03, 2005 2:48 pm
by thehoesat
:lol:

Thanks to all for the suggestions, I have made the modifications advised but the problem remains the same one. I explain better the thing.

If all the customers connect themselves on the HUB i see the HUB
working fine, in fact giving the command /map , I see the number of the clients connected to the HUB to times to increase and to times to diminish,
as it would have to be.
The problem seems to be on the LEAF, i see the number of the clients
connected to LEAF always decrease until that the LEAF connections stretches to zero and the HUB generate the error "all connections in use"
with 1000 clients connected.

N.B. if i send all the connetions to the LEAF the problem remain the same but in this case are the HUB connections stretches to zero and the LEAF
generate the error "all connections in use".

Thank You

Posted: Sun Apr 03, 2005 3:21 pm
by Dukat
Wait a second... you aren't using DNS round robin?

dns round-robin

Posted: Sun Apr 03, 2005 3:38 pm
by thehoesat
:lol:

No, i don't use a dns round-robin, i'm a newbie.

Thank You

Posted: Sun Apr 03, 2005 3:49 pm
by Dukat
Well then... as Jason said: Google for it.
It's pretty easy to set up. :D