Lag Problems!!

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
ElessarMS
Posts: 51
Joined: Wed Oct 13, 2010 10:11 pm

Lag Problems!!

Post by ElessarMS »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: The Last
L2JDP Revision Number: The Last

I have a problem, whenever my server is reaching 140-150 players I'm starting to have an intermitent lag (2-3 sec of lag) and its becoming really annoying, the machine is not really bad (it has 5gb and is a dual core amd opteron 2,31ghz). In the GS I can see very often the problem with "Disconnected, too many queue overflows" and I really dont know if is the hosting machine or I really have a huge mistake in some part of my configuration, That wasnt happening when I had Epilogue (or maybe is just my mind, but when I reached there 150 players I didn't have any lag). I will appreciate very much if someone can dedicate attention to me for a while, I'll be really thankful. I just wanna know a hint about where can I search of modify, or what can be wrong in the configuration to be able to fix it.

Thanks in advance.
mgbhard
Posts: 228
Joined: Mon May 05, 2008 10:34 pm

Re: Lag Problems!!

Post by mgbhard »

CPU ussage?
It's your connection big enough?

About the queue overflows, any custom code? or scripts? that's caused when all threads are busy
Image
ElessarMS
Posts: 51
Joined: Wed Oct 13, 2010 10:11 pm

Re: Lag Problems!!

Post by ElessarMS »

The first thing I will tell you in a couple hours, when I reach the enough amount players again, the connection is good and I have scripts in python, a gatekeeper, scheme buffer, 2 events (golem war and raid boss) and 1 event more apart (Crazy Rates). In case that I have these custom codes... how can I fix the overflows?.
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Lag Problems!!

Post by _DS_ »

Post real error log, not "something like this".
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
ElessarMS
Posts: 51
Joined: Wed Oct 13, 2010 10:11 pm

Re: Lag Problems!!

Post by ElessarMS »

_DS_ wrote:Post real error log, not "something like this".
This is the "something like this" I'm having everytime, I really don't think I have this lag cuz my machine and I really wanna know what's the problem and if I should quit few python scripts stuff to make the server work fine.

Code: Select all

 27 09:32:38,768 SEVERE  19  com.l2jserver.gameserver.network.L2GameClient   Client [Character: Majestic[268500084] - Account: majestic - IP: xx.xxx.xxx.x] - Disconnected, too many queue overflows.2010.10.27 09:32:38,828 SEVERE  19  com.l2jserver.gameserver.network.L2GameClient   Client [Character: StayDown[268726334] - Account: jonakosss - IP: xx.xx.xxx.xx] - Disconnected, too many queue overflows.2010.10. 
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Lag Problems!!

Post by _DS_ »

This is not normal. Somewhere in your custom code threads locked longer than needed time.
You can increase queue length, but better fix problem.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
ElessarMS
Posts: 51
Joined: Wed Oct 13, 2010 10:11 pm

Re: Lag Problems!!

Post by ElessarMS »

And how it looks like?, I just removed half of the scripts I was using ingame to see if the GS is still making this things. Btw, can this be the reason of the intermitent lag I have when I reach a huge amount of players? It doesnt seems that the CPU usage is huge at all.
User avatar
pinkcore
Posts: 247
Joined: Fri Jul 24, 2009 3:04 am
Location: Czech Republic

Re: Lag Problems!!

Post by pinkcore »

ElessarMS wrote:And how it looks like?, I just removed half of the scripts I was using ingame to see if the GS is still making this things. Btw, can this be the reason of the intermitent lag I have when I reach a huge amount of players? It doesnt seems that the CPU usage is huge at all.
It's better to read every script you want to add beacuse of unclosed connections and other things. It's very bad to add all custom scripts at 1 time.

Are you using custom python scripts, likes scheme buffer, etc?
I'm not here only for food!
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Lag Problems!!

Post by _DS_ »

Return back this half of scripts and remove another.
Current version works without such problems on the dev's servers with significant online.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
ElessarMS
Posts: 51
Joined: Wed Oct 13, 2010 10:11 pm

Re: Lag Problems!!

Post by ElessarMS »

Yes, Im using scheme buffer and this stuff, I just keep the gatekeeper and the buffer. I've quitted 2 events I had (Raid Boss and Golems War) and I dont have anymore overflows, but I'm still having the lag, now I have 150 online and there is the machine:

Image

It can be the machine? is having the usage of cpu up sometimes...
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Lag Problems!!

Post by _DS_ »

Create "debug full" file from telnet during this problem, archive it and post.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
mgbhard
Posts: 228
Joined: Mon May 05, 2008 10:34 pm

Re: Lag Problems!!

Post by mgbhard »

ElessarMS wrote:Yes, Im using scheme buffer and this stuff, I just keep the gatekeeper and the buffer. I've quitted 2 events I had (Raid Boss and Golems War) and I dont have anymore overflows, but I'm still having the lag, now I have 150 online and there is the machine:

Image

It can be the machine? is having the usage of cpu up sometimes...

It's not a machine problem... the cause are the scripts...
Disable 1 by 1 and find the one who is causing this...
Image
ElessarMS
Posts: 51
Joined: Wed Oct 13, 2010 10:11 pm

Re: Lag Problems!!

Post by ElessarMS »

_DS_ wrote:Create "debug full" file from telnet during this problem, archive it and post.
Im sorry for my ignorance but I don't know how to make a debug full file. What should I have to do?.
mgbhard
Posts: 228
Joined: Mon May 05, 2008 10:34 pm

Re: Lag Problems!!

Post by mgbhard »

ElessarMS wrote:
_DS_ wrote:Create "debug full" file from telnet during this problem, archive it and post.
Im sorry for my ignorance but I don't know how to make a debug full file. What should I have to do?.
Enable telnet (in config folder), set password, port and from wich host accept connections, restart your server, connect via telnet to the ip of your server (telnet XXX.XXX.XXX.XXX in CMD), type your password and then debug full.
That will create a log in your gameserver folder.
Image
ElessarMS
Posts: 51
Joined: Wed Oct 13, 2010 10:11 pm

Re: Lag Problems!!

Post by ElessarMS »

I have a problem, I made everything you said and I have this error:

Image
Post Reply