Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: VolTekka on December 24, 2006, 11:44:11 PM

Title: anope CPU usage problem
Post by: VolTekka on December 24, 2006, 11:44:11 PM
Hello. I'm currently using the latest build of anope for win32 (I've tried both the precompiled binary and compiled myself...), and at first it was great. Wasn't using much cpu, maybe 2 or 3 percent peak. Then, all hell broke loose. It now will use no less than 60% of my cpu at any given time, and usually idles closer to 80%. On top of this, it's incredibly sluggish. It has 10-20 second delay times, sometimes more (everything is on localmachine, as well). I'm at a loss as to the cause at the moment; if anyone has any ideas it would be greatly appreciated. I will furnish any information you need.

OS: Windows XP Professional w/SP2
Compiler: Visual Studio 2005
IRCd: Latest Unreal build.
Processor: AMD Athlon XP 2600+ @1.91GHz
RAM: 512MB
Idle CPU Usage: 0-4% (subjective)

Thank you.


[Edited on 24-12-2006 by VolTekka]
Post by: katsklaw on December 24, 2006, 11:49:25 PM
please reply with the output of: /os modlist
Post by: VolTekka on December 24, 2006, 11:59:12 PM
-OperServ12- Current Module list:
-OperServ12- Module: cs_appendtopic [$Id: cs_appendtopic.c 1122 2006-08-06 15:00:13Z certus $] [Supported]
-OperServ12- Module: cs_enforce [$Id: cs_enforce.c 957 2006-01-24 07:54:48Z certus $] [Supported]
-OperServ12- Module: hs_request [$Id$] [Supported]
-OperServ12- Module: ns_maxemail [$Id: ns_maxemail.c 953 2006-01-14 11:36:29Z certus $] [Supported]
-OperServ12- Module: os_info [$Id: os_info.c 1162 2006-09-29 17:54:07Z geniusdex $] [Supported]
-OperServ12- Module: unreal32 [$Id: unreal32.c 1159 2006-09-28 08:52:35Z certus $] [Protocol]
-OperServ12- 6 Modules loaded.

I've also noticed something else that may help diagnose the problem. After a while, anope eventually disconnects, and unreal spits this at me:

*** Global -- Closing link: Buffer allocation error - [edited out services address][]
*** Notice -- *** TROUBLE: buffer allocation error! Increase BUFFERPOOL! ***

It almost seems as if its just allocating buffer until it eventually dies or something; I haven't a clue. Thanks for your speedy reply.


[PS] I'm in the IRC channel now, under the same name, if anyone wishes to help me there.

[Edited on 24-12-2006 by VolTekka]

[Edited on 24-12-2006 by VolTekka]
Post by: katsklaw on December 25, 2006, 01:08:15 AM
This issue was fixed on IRC by disabling Unreals built in NTP server.

If anyone else has this issue try adding this to your unrealircd.conf:

Code: [Select]

set { timesynch { enabled no; }; };

[Edited on 24-12-2006 by katsklaw]