Anope Support > 1.8.x/1.7.x Support (Read Only)

Botserv crashes services when assigned to a chan

(1/2) > >>

Ian:
Every time I assign a botserv bot to a channel the entire services dies with

--- Code: ---  irc.mynet.org:BS-IRCNet : *** Notice -- Max SendQ limit exceeded for services.mynet.org[127.0.0.1]: 1000008 > 1000000
  irc.mynet.org:BS-IRCNet : *** Global -- Closing link: Max SendQ exceeded - services.mynet.org[127.0.0.1]
--- End code ---

When creating the bot it shows

--- Code: --- *** Permanent Global Q:line added for BS on Fri Feb  7 14:18:33 2014 GMT (from services.mynet.org: Reserved for services)
-BotServ- BS!BS@services.mynet.org (MyNet) added to the bot list.
--- End code ---

Upon assigning the bot :-

--- Code: --- —— JOIN #test « BS (BS@services.mynet.org)
 â€”— QUIT « BS (BS@services.mynet.org) » irc.mynet.org services.mynet.org ——
  irc.mynet.org:BS-IRCNet : *** Notice -- Max SendQ limit exceeded for services.mynet.org[127.0.0.1]: 1000008 > 1000000
  irc.mynet.org:BS-IRCNet : *** Global -- Closing link: Max SendQ exceeded - services.mynet.org[127.0.0.1]
--- End code ---

Ulines :-

--- Code: ---ulines {
services.mynet.org:*:*;
};
--- End code ---

Server Name :-

--- Code: ---ServerName  "services.mynet.org"
--- End code ---

Have to add a global uline for *, rahash the ircd, restart services and unassign bot before the links closed.

Can anyone help me on this please?

[EDIT for requested info]


--- Code: ---class           servers
{
pingfreq 90;
maxclients 10; /* Max servers we can have linked at a time */
sendq 1000000;
connfreq 100; /* How many seconds between each connection attempt */
};

class           clients
{
pingfreq 90;
maxclients 90;
sendq 100000;
recvq 8000;
};

--- End code ---


--- Code: ---link            services.mynet.org
{
username *;
hostname 127.0.0.1;
bind-ip *;
port 7555;
hub             *;
password-connect "mypass";
password-receive "mypass";
class           servers;
options {
/* Note: You should not use autoconnect when linking services */
# autoconnect;
# ssl;
# zip;
};
};

--- End code ---

Adam:
Use just:


--- Code: ---ulines {
services.mynet.org;
};
--- End code ---

For starters. Also pastebin your class{} and link{} blocks if it persists.

Ian:
Thanks for the reply, made the change you said and created a bot :-

--- Code: ----irc.mynet.org- *** Permanent Global Q:line added for TZ on Fri Feb  7 17:43:14 2014 GMT (from services.mynet.org: Reserved for services)
-
 -BotServ- TZ!TZ@services.mynet.org (Botserv Bot) added to the bot list.
-
-BotServ- Bot TZ has been assigned to #test
 -irc.mynet.org- *** Notice -- Max SendQ limit exceeded for services.mynet.org[127.0.0.1]: 1000032 > 1000000
-
-irc.mynet.org- *** Global -- Closing link: Max SendQ exceeded - services.mynet.org[127.0.0.1]

—— JOIN #test « TZ (TZ@services.mynet.org) »  ——
—— QUIT « TZ (TZ@services.mynet.org) » irc.mynet.org services.mynet.org ——

--- End code ---

and services dies again.

If I add a global Uline (which i have to do to restart services and remove the bot)

--- Code: ---—— JOIN #test « TZ (TZ@services.mynet.org) »  ——
* TZ sets mode: +ao TZ TZ
--- End code ---

katsklaw:
1. There is no such thing as a "global U:Line". U:Lines are local to the ircd only, thus every ircd *must* have an exact matching ulines block BEFORE services is started. Don't forget to /rehash your ircd(s) after making changes.
2. If you are still seeing max sendQ exceeded, then the ircd doesn't have the correct ulines block. double check them all on all ircds and /rehash if any changes are made and (re)start services.
3. Services must be introduced as an U:Lined server so ANY changes requires services to be introduced to said ircd.

Adam:

--- Quote from: Adam on February 07, 2014, 03:52:41 PM ---Use just:


--- Code: ---ulines {
services.mynet.org;
};
--- End code ---

For starters. Also pastebin your class{} and link{} blocks if it persists.

--- End quote ---

As I said, pastebin the class blocks, as Unreal applies their sendq limits even to ulines.

Navigation

[0] Message Index

[#] Next page

Go to full version