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

These are old archives. They are kept for historic purposes only.
Post Reply
thehoesat
Posts: 5
Joined: Sat Apr 02, 2005 8:50 am

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

Post 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
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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
Why the hell can't my signature be empty?
"Your message contains too few characters."
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post 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... :|
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post 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?
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
thehoesat
Posts: 5
Joined: Sat Apr 02, 2005 8:50 am

Thank you

Post 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
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Wait a second... you aren't using DNS round robin?
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
thehoesat
Posts: 5
Joined: Sat Apr 02, 2005 8:50 am

dns round-robin

Post by thehoesat »

:lol:

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

Thank You
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Well then... as Jason said: Google for it.
It's pretty easy to set up. :D
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Post Reply