Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Anope use 50% of cpu  (Read 3977 times)

0 Members and 1 Guest are viewing this topic.

Gix

  • Guest
Anope use 50% of cpu
« on: April 11, 2007, 10:04:28 PM »

Somehow when I restarted anope something must have went wrong because now everytime i start anope, it goes up to 50% cpu usage and takes 20+ seconds to respond on a simple /os staff list (just an example)

After around a minute I get this response:
*** Global -- Closing link: Buffer allocation error - services.gix07fix.mine.nu[127.0.0.1]
-
*** Notice -- *** TROUBLE: buffer allocation error! Increase BUFFERPOOL! ***

Here is the log if anyone is interested:

[Apr 11 19:45:37 2007] Every UserKey must be different. It's for YOUR safety! Remember that!
[Apr 11 19:45:37 2007] Loading IRCD Protocol Module: [unreal32]
[Apr 11 19:45:37 2007] status:
  • [Module, Okay - No Error]
[Apr 11 19:45:37 2007] Loading Encryption Module: [enc_none]
[Apr 11 19:45:37 2007] status:
  • [Module, Okay - No Error]
[Apr 11 19:45:37 2007] Launching Anope into the background
[Apr 11 19:45:37 2007] Anope 1.7.18 (1214) (ircd protocol: UnrealIRCd 3.2+) starting up
[Apr 11 19:45:37 2007] ns_sendpass requested unload...
[Apr 11 19:45:37 2007] debug: trying to load core module [ns_sendpass]
[Apr 11 19:45:37 2007] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Apr 11 19:45:38 2007] cs_sendpass requested unload...
[Apr 11 19:45:38 2007] debug: trying to load core module [cs_sendpass]
[Apr 11 19:45:38 2007] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Apr 11 19:45:38 2007] ms_rsend requested unload...
[Apr 11 19:45:38 2007] debug: trying to load core module [ms_rsend]
[Apr 11 19:45:38 2007] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Apr 11 19:45:39 2007] trying to load [hs_moo]
[Apr 11 19:45:39 2007] status: [4][Module Error, file does not exist]
[Apr 11 19:45:39 2007] trying to load [ircd_defizzer]
[Apr 11 19:45:39 2007] status: [4][Module Error, file does not exist]
[Apr 11 19:45:39 2007] Databases loaded
[Apr 11 19:45:39 2007] Info: Reflecting database records.
[Apr 11 19:45:39 2007] Connected to Server 1 (localhost:7070)
[Apr 11 19:45:39 2007] trying to load [cs_appendtopic]
[Apr 11 19:45:39 2007] [cs_appendtopic] Loaded successfully
[Apr 11 19:45:39 2007] status:
  • [Module, Okay - No Error]
[Apr 11 19:45:39 2007] trying to load [cs_enforce]
[Apr 11 19:45:39 2007] status:
  • [Module, Okay - No Error]
[Apr 11 19:45:39 2007] trying to load [ns_maxemail]
[Apr 11 19:45:39 2007] status:
  • [Module, Okay - No Error]
[Apr 11 19:45:39 2007] trying to load [os_info]
[Apr 11 19:45:39 2007] os_info: Loading configuration directives...
[Apr 11 19:45:39 2007] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Apr 11 19:45:39 2007] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Apr 11 19:45:39 2007] status:
  • [Module, Okay - No Error]
[Apr 11 19:45:39 2007] trying to load [hs_request]
[Apr 11 19:45:39 2007] hs_request loaded
[Apr 11 19:45:39 2007] status:
  • [Module, Okay - No Error]
[Apr 11 19:45:39 2007] Server gix07fix.mine.nu is done syncing
[Apr 11 19:45:52 2007] NickServ: Gix07fix!gix07fix@localhost identified for nick Gix07fix
[Apr 11 19:46:31 2007] Read error from server: No such file or directory (error num: 2)
[Apr 11 19:46:31 2007] [cs_appendtopic] Unloaded successfully
[Apr 11 19:46:31 2007] hs_request un-loaded


After searching around on the forums for similiar problems my conclusion is: There is a problem with U:lines, lets take a look at them..

(Anope)
IRCDModule "unreal32"
RemoteServer localhost 7070 "------"
ServerName  "services.gix07fix.mine.nu"

(Unreal 3.2)
include "aliases/anope.conf";
listen *:7070;
link services.gix07fix.mine.nu {
username *;
hostname 127.0.0.1;
bind-ip *;
hub *;
port 7070;
password-connect "------";
password-receive "------";
class servers;
};
ulines { services.gix07fix.mine.nu; };
set { services-server "services.gix07fix.mine.nu" };


Now that's how I can think of describing the problem. If you need more info to fix this please let me know. :)
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #1 on: April 12, 2007, 01:57:45 PM »

Try changing RemoteServer to connect to 127.0.0.1 instead of localhost.

Quote
[Apr 11 19:46:31 2007] Read error from server: No such file or directory (error num: 2)

Usually means the IRCd sent an error message then closed the connection.

So if you can, can you run Anope in debug mode and look for the "debug: received" lines just above the Read error line.
To run in debug mode use the -debug command line option, so on *nix use "./services -debug" and on windows use "anope.exe -debug"

An alternative is to make sure youre connected to your IRCd and /oper'ed before you start Anope and then watch for the error message in server notices.

The *_sendpass modules not loading will be because you havnt enabled email support and the ms_rsend module not loading is because you havnt enabled memo reciepts. Neither are anything to worry about.

[Edited on 12-4-2007 by Jobe1986]
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

Gix

  • Guest
(No subject)
« Reply #2 on: April 12, 2007, 08:55:56 PM »

What should I look for in the debug log?

Oh and the log spam this:

[Apr 12 17:45:23 2007] debug: Received: :gix07fix.mine.nu MODE #gix -oh mIRC mIRC 0
[Apr 12 17:45:23 2007] debug: Changing modes for #gix to -oh mIRC mIRC 0
[Apr 12 17:45:23 2007] debug: Sent: :mIRC MODE #gix +o mIRC
[Apr 12 17:45:23 2007] debug: Received: :gix07fix.mine.nu MODE #gix &-o mIRC 1176392667
[Apr 12 17:45:23 2007] debug: Changing modes for #gix to &-o mIRC 1176392667
[Apr 12 17:45:23 2007] debug: Sent: :mIRC MODE #gix +o mIRC
[Apr 12 17:45:23 2007] debug: Received: :gix07fix.mine.nu MODE #gix -oh mIRC mIRC 0
[Apr 12 17:45:23 2007] debug: Changing modes for #gix to -oh mIRC mIRC 0
[Apr 12 17:45:23 2007] debug: Sent: :mIRC MODE #gix +o mIRC
[Apr 12 17:45:23 2007] debug: Received: :gix07fix.mine.nu MODE #gix &-a mIRC 1176392667
[Apr 12 17:45:23 2007] debug: Changing modes for #gix to &-a mIRC 1176392667
[Apr 12 17:45:23 2007] debug: Sent: :mIRC MODE #gix +a mIRC
[Apr 12 17:45:23 2007] debug: Received: :gix07fix.mine.nu MODE #gix -oh mIRC mIRC 0
[Apr 12 17:45:23 2007] debug: Changing modes for #gix to -oh mIRC mIRC 0
[Apr 12 17:45:23 2007] debug: Sent: :mIRC MODE #gix +o mIRC
[Apr 12 17:45:23 2007] debug: Received: :gix07fix.mine.nu MODE #gix &-o mIRC 1176392667
[Apr 12 17:45:23 2007] debug: Changing modes for #gix to &-o mIRC 1176392667
[Apr 12 17:45:23 2007] debug: Sent: :mIRC MODE #gix +o mIRC
[Apr 12 17:45:23 2007] debug: Received: :gix07fix.mine.nu MODE #gix -oh mIRC mIRC 0
[Apr 12 17:45:23 2007] debug: Changing modes for #gix to -oh mIRC mIRC 0
[Apr 12 17:45:23 2007] debug: Sent: :mIRC MODE #gix +o mIRC


The log is about 25mb with those repetitions. :(

[�ndrad 12-4-2007 av Gix]

[Ändrad 12-4-2007 av Gix]
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #3 on: April 12, 2007, 11:26:58 PM »

you didn't correctly set your ulines..
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Gix

  • Guest
(No subject)
« Reply #4 on: April 14, 2007, 12:34:23 PM »

Tell me what's wrong with them? :S
Logged

Dave Robson

  • Team
  • *
  • Offline Offline
  • Posts: 357
(No subject)
« Reply #5 on: April 14, 2007, 11:16:36 PM »

He did...

Quote
Originally posted by Viper
you didn't correctly set your ulines..
Logged

katsklaw

  • Guest
(No subject)
« Reply #6 on: April 15, 2007, 03:11:31 AM »

Please humor me Gix and restart services please.
Logged

Gix

  • Guest
(No subject)
« Reply #7 on: April 15, 2007, 09:54:04 AM »

Nevermind, found out U-lines were commented out in the config file.

Silly me! *blush*

[Ändrad 15-4-2007 av Gix]
Logged
Pages: [1]   Go Up