How can i find the reason of "lags"?

These are old archives. They are kept for historic purposes only.
Post Reply
MichaelRoelle
Posts: 2
Joined: Wed Aug 16, 2006 2:11 pm

How can i find the reason of "lags"?

Post 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]
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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).
MichaelRoelle
Posts: 2
Joined: Wed Aug 16, 2006 2:11 pm

Post 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?
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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.
Why the hell can't my signature be empty?
"Your message contains too few characters."
kucha12
Posts: 6
Joined: Mon Aug 07, 2006 5:21 pm

Post by kucha12 »

try as root: # renice -20 <unreal's pid>
Post Reply