Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Making bots causing services to lag  (Read 6013 times)

0 Members and 1 Guest are viewing this topic.

Amzo

  • Guest
Making bots causing services to lag
« on: February 24, 2008, 10:00:57 AM »

I tried searching for 'bots lag' and 'bots make services lag' but i couldn't find anything. The problem is that when i add a bot to botserv, it cause the services to lag tremendously, and it takes about 2 minutes and longer to respond to commands, but when i delete the bots, it works fine. It adds qlines for the bot, but the bot won't automatically op its self when assigned to a channel. I tried searching google for answers but nothing seems to work.

I forgot to add, it causes my server to use all cpu usage with is using a 2.0ghz xeon processor, and chanserv floods with "this channel has been registered"

[Edited on 24-2-2008 by Amzo]
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #1 on: February 24, 2008, 11:04:25 AM »

sounds like a possible TS desync...
if you run unreal, check the TS on all servers with /tsctl alltime ,for other ircds, check the docs

you need to make sure the ircd has the same time as services. services time will be exactly the same as the box they run on whereas ircds may use an internal clock with an offset...
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Amzo

  • Guest
(No subject)
« Reply #2 on: February 24, 2008, 11:23:57 AM »

It says that the servers are in sync.

"TStime=1203852015 time()=1203852015 TSoffset=0"

"is now synced [secs: 0 recv: 7.967 sent: 6.31]"

but the bots still causes services to lag, so i have to delete the bot.

It's actually when i assign the bot to a channel it starts to lag, but it's fine if i don't assign it.

[Edited on 24-2-2008 by Amzo]
Logged

katsklaw

  • Guest
(No subject)
« Reply #3 on: February 24, 2008, 12:31:46 PM »

Another possible reason is one or more servers do not have proper U:Lines or ulines block for services.
Logged

Amzo

  • Guest
(No subject)
« Reply #4 on: February 24, 2008, 12:44:09 PM »

My Ublock is

link            services.rebellion-chat.co.uk
{
        username        *;
        hostname        *;
        bind-ip         ip*;
        port            9966;
        hub             *;
        password-connect "password";
        password-receive "password";
 class servers;
options {
};
};

anope conf

RemoteServer    localhost 9966 "password"

ServerName  "services.rebellion-chat.co.uk"

ServerDesc  "Rebellion-chat services"

ServiceUser "services@rebellion-chat.co.uk"

the services run fine until i assign a bot to a channel.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #5 on: February 24, 2008, 01:53:15 PM »

that is not a ublock.... that s a link block, not a uline block

ulines {
   services.xxx.net;
};
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Amzo

  • Guest
(No subject)
« Reply #6 on: February 24, 2008, 02:41:28 PM »

I added the uline for services, but they keep crashing when i join them to a channel.

ulines {
        services.rebellion-chat.co.uk;
        defender.rebellion-chat.co.uk;
        stats.rebellion-chat.co.uk;
};


[Edited on 24-2-2008 by Amzo]
Logged

katsklaw

  • Guest
(No subject)
« Reply #7 on: February 24, 2008, 03:22:38 PM »

Services must be re-introduced to the network after all servers have the correct uline information. That means that after all servers have that block, Services needs to be restarted.
Logged

Amzo

  • Guest
(No subject)
« Reply #8 on: February 24, 2008, 03:32:25 PM »

YAY, it's working now. thanks alot for your time and help.
Logged
Pages: [1]   Go Up