pingfreq vs connfreq
Posted: Wed Aug 25, 2004 10:38 pm
i've recently joined the staff of a net of +1500 users total
and round 20 ircds (3 of them are hubs)
all leafs autoconnect to either one of the hubs
and i've noticed some weird netsplits
ircds splitting then reconnecting to another hub , but then get rejected cause they still
exist on their previous hub where they linked too
i stated 2 possible solutions for this problem
solution1: put only 1 hub on autoconnect in the leafs config
solution2: fix the pingfreq and connfreq in the server class
class server
{
pingfreq 300;
maxclients 1; /* Max servers we can have linked at a time */
sendq 1000000;
connfreq 100; /* How many seconds between each connection attempt */
};
this is what they've got now
i'm pretty much convinced that the connfreq needs to be higher then the pingfreq
otherwise hub1 wont even know when leaf disconnects before it reconnects to hub2
and i think the pingfreq should be reduced aswell
am i right ?
and round 20 ircds (3 of them are hubs)
all leafs autoconnect to either one of the hubs
and i've noticed some weird netsplits
ircds splitting then reconnecting to another hub , but then get rejected cause they still
exist on their previous hub where they linked too
i stated 2 possible solutions for this problem
solution1: put only 1 hub on autoconnect in the leafs config
solution2: fix the pingfreq and connfreq in the server class
class server
{
pingfreq 300;
maxclients 1; /* Max servers we can have linked at a time */
sendq 1000000;
connfreq 100; /* How many seconds between each connection attempt */
};
this is what they've got now
i'm pretty much convinced that the connfreq needs to be higher then the pingfreq
otherwise hub1 wont even know when leaf disconnects before it reconnects to hub2
and i think the pingfreq should be reduced aswell
am i right ?