Page 1 of 1

How can i find the reason of "lags"?

Posted: Wed Aug 16, 2006 2:31 pm
by MichaelRoelle
Hello,

at first sorry about my bad english. I am from Germany and i need some help for my Unreal IRCD Server.

It runs on a Linux Suse 9.2 Server together with an Apache Webserver with 2 Websites. The Server Load was at all the time under 1.0. There was only one ChatChannel with 10-20 Users.

My Problem:

10-20 times a day there was an lag. User send a text, but 10-60 seconds no one can see it. After the lag all missing sendings get in one moment.

I cant find the error and dont know what to do. Can someone help me to solve this problem please?

Greetz Michael


My config.settings:

Code: Select all

#
NOSPOOF="1"
DPATH="/home/unrealirc/Unreal3.2"
SPATH="/home/unrealirc/Unreal3.2/src/ircd"
INET6="1"
PREFIXAQ="1"
LISTEN_SIZE="4"
MAXSENDQLENGTH="500000"
BUFFERPOOL="6"
MAXCONNECTIONS="1024"
NICKNAMEHISTORYLENGTH="2000"
HUB="1"
DOMAINNAME="xyz.net"
DEFPERM="0600"
CRYPTOIRCD=""
SSLDIR=""
ZIPLINKS=""
ZIPLINKSDIR=""
REMOTEINC=""
CURLDIR=""
SHOWLISTMODES="1"
TOPICNICKISNUH=""
SHUNNOTICES=""
NOOPEROVERRIDE=""
DISABLEUSERMOD=""
OPEROVERRIDEVERIFY=""
EXTRAPARA=""
ADVANCED=""
part of my unrealircd.conf:

Code: Select all

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

class servers {
      pingfreq 90;
      maxclients 50;
      sendq 1000000;
      connfreq 100;
};



listen *:6660-6669;

......
[quote][/quote]

Posted: Wed Aug 16, 2006 3:39 pm
by Syzop
Network problem, probably :P.

If you can ping the server (icmp ping, not irc ping) - various hosters deny
this - then you'll see that packets are lost during the "lag" moment.

Things like this are usually less noticable for a webserver, but very noticable for IRC (or any other permanent "real-time" connection).

Posted: Mon Aug 21, 2006 11:37 am
by MichaelRoelle
Was there a way to ping only the Port of the IRCD? During the lags the Website works without problems and fast.
I also noticed, that the Users need up to 15 Seconds to connect to the IRC. Maybe there was the same problem?

Posted: Wed Aug 23, 2006 12:35 pm
by Jason
If I remember correctly, load averages relate to the number of processes waiting for attention (simplified), so that UnrealIRCd running at full capacity would never be able to raise the load average above 1. Instead, look at Unreal's CPU usage. A utility such as top would work for this.

Your connection delays could be due to slow ident checking or host resolution.

Posted: Fri Aug 25, 2006 8:03 pm
by kucha12
try as root: # renice -20 <unreal's pid>