Out of control CPU usage every 60s

These are old archives. They are kept for historic purposes only.
Post Reply
EdwardK
Posts: 3
Joined: Sun Apr 27, 2008 12:19 am

Out of control CPU usage every 60s

Post by EdwardK »

Image
Running:
(%) Version: Unreal3.2.7. xxxx FhinXeOoZE [Linux xxxxx 2.6.18-53.1.6.el5.028stab053.6 #1 SMP Mon Feb 11 20:14:31 MSK 2008 i686 athlon i386 GNU/Linux=2309]
Typical number of users on this server, 20
Connected to a hub, total network size, 30 users.
Kicking all users off and leaving it only linked to the hub still results in CPU spikes.
Running under OpenVZ virtualization software.

Approximately every 60 seconds, ircd process consumes 100% CPU for approximately 5-10 seconds.
I have no glines/klines/spamfilter, etc. Running in a private network, low amount of users, no extra modules aside from commands and cloak.

HTM ON reduces the amount of CPU spiking, but it's still spiking.
During non-spiking period, CPU use by ircd process is 0.

Host provider does not like the spiking use and threatens to suspend my account, please advise on what I should do.
Right now I have a bot issuing HTM ON every 30s to keep it under control, I can't keep that on forever.
santa2452
Posts: 29
Joined: Thu Jun 14, 2007 7:23 pm
Location: Columbus
Contact:

Re: Out of control CPU usage every 60s

Post by santa2452 »

do you have a services package because when services run there checks that would be possible to spike in CPU, for example nickserv might check for expired names or chanserv might be checking for expired channels ethier way if these checks are to often then it would spike the CPU to a high level of usage.

my suggestion if this is the case go through your services conf and make it so that nickserv checks at different times then chanserv or any other service. that could possibly lower the spiking
Casper
Posts: 338
Joined: Sun Jul 08, 2007 7:44 am
Location: The Netherlands

Re: Out of control CPU usage every 60s

Post by Casper »

The IRCd process itself is getting high peaks, not the services package.
Ex Network-Administrator
santa2452
Posts: 29
Joined: Thu Jun 14, 2007 7:23 pm
Location: Columbus
Contact:

Re: Out of control CPU usage every 60s

Post by santa2452 »

sorry but that was one of the reasons i could think of that would be spiking CPU
EdwardK
Posts: 3
Joined: Sun Apr 27, 2008 12:19 am

Re: Out of control CPU usage every 60s

Post by EdwardK »

Services run on a different server on the network (anope).
santa2452
Posts: 29
Joined: Thu Jun 14, 2007 7:23 pm
Location: Columbus
Contact:

Re: Out of control CPU usage every 60s

Post by santa2452 »

EdwardK wrote:Services run on a different server on the network (anope).
that still can spike CPU but it is the ircd that is spiking not services
EdwardK
Posts: 3
Joined: Sun Apr 27, 2008 12:19 am

Re: Out of control CPU usage every 60s

Post by EdwardK »

Disabling services has no effect.
yyyyy is the server with the CPU issue

tsctl alltime:

Code: Select all

[02:55:56 pm] -yyyyy.xxxxx.xxx- *** Server=yyyyy.xxxxx.xxx TStime=1210100156 time()=1210100312 TSoffset=-156
[02:55:57 pm] -aaaaa.xxxxx.xxx- *** Server=aaaaa.xxxxx.xxx TStime=1210100156 time()=1210100066 TSoffset=90
[02:55:57 pm] -bbb.xxxxx.xxx- *** Server=bbb.xxxxx.xxx TStime=1210100156 time()=1210100156 TSoffset=0
version reports:

Code: Select all

(%) Version: Unreal3.2.7. yyyyy.xxxxx.xxx FiXeOoE [Linux xxxxxxxxx 2.6.18-53.1.6.el5.028stab053.6 #1 SMP Mon Feb 11 20:14:31 MSK 2008 i686 athlon i386 GNU/Linux=2309]
[02:59:32 pm] -yyyyy.xxxxx.xxx- OpenSSL 0.9.8b 04 May 2006
(%) CMDS=KNOCK,MAP,DCCALLOW,USERIP NAMESX SAFELIST HCN MAXCHANNELS=40 CHANLIMIT=#:40 MAXLIST=b:60,e:60,I:60 NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 KICKLEN=307 AWAYLEN=307 MAXTARGETS=20 are supported by this server
(%) WALLCHOPS WATCH=128 SILENCE=15 MODES=12 CHANTYPES=# PREFIX=(ohv)@%+ CHANMODES=beIqa,kfL,lj,psmntirRcOAQKVCuzNSMTG NETWORK=xxxxxxxxx CASEMAPPING=ascii EXTBAN=~,cqnr ELIST=MNUCT STATUSMSG=@%+ EXCEPTS are supported by this server
(%) INVEX are supported by this server


(%) Version: Unreal3.2.7. aaaaa.xxxxx.xxx FhiXeOoE [Linux ircd 2.6.21-xen #3 SMP Sat Aug 9 15:09:35 EEST 2008 x86_64 GNU/Linux=2309]
[02:59:59 pm] -aaaaa.xxxxx.xxx- OpenSSL 0.9.8c 05 Sep 2006
NAMESX SAFELIST HCN MAXCHANNELS=50 CHANLIMIT=#:50 MAXLIST=b:60,e:60,I:60 NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 KICKLEN=307 AWAYLEN=307 MAXTARGETS=20 WALLCHOPS are supported by this server
WATCH=128 SILENCE=15 MODES=12 CHANTYPES=# PREFIX=(ohv)@%+ CHANMODES=beIqa,kfL,lj,psmntirRcOAQKVCuzNSMTG NETWORK=xxxxxxxxx CASEMAPPING=ascii EXTBAN=~,cqnr ELIST=MNUCT STATUSMSG=@%+ EXCEPTS INVEX are supported by this server
CMDS=KNOCK,MAP,DCCALLOW,USERIP are supported by this server

(%) Version: Unreal3.2.7. bbb.xxxxx.xxx FhiXeOoE3 [Linux xxxxxxx 2.6.12-xenU #3 Wed Oct 5 04:27:45 EEST 2005 i686 GNU/Linux=2309]
[03:00:12 pm] -bbb.xxxxx.xxx- OpenSSL 0.9.7e 25 Oct 2004
NAMESX SAFELIST HCN MAXCHANNELS=50 CHANLIMIT=#:50 MAXLIST=b:60,e:60,I:60 NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 KICKLEN=307 AWAYLEN=307 MAXTARGETS=20 WALLCHOPS are supported by this server
WATCH=128 SILENCE=15 MODES=12 CHANTYPES=# PREFIX=(ohv)@%+ CHANMODES=beIqa,kfL,lj,psmntirRcOAQKVCuzNSMTG NETWORK=xxxxxxxxx CASEMAPPING=ascii EXTBAN=~,cqnr ELIST=MNUCT STATUSMSG=@%+ EXCEPTS INVEX are supported by this server
CMDS=KNOCK,MAP,DCCALLOW,USERIP are supported by this server
Post Reply