Lag Problems!!
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 51
- Joined: Wed Oct 13, 2010 10:11 pm
Lag Problems!!
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.
» 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.
-
- Posts: 228
- Joined: Mon May 05, 2008 10:34 pm
Re: Lag Problems!!
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
It's your connection big enough?
About the queue overflows, any custom code? or scripts? that's caused when all threads are busy

-
- Posts: 51
- Joined: Wed Oct 13, 2010 10:11 pm
Re: Lag Problems!!
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?.
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Lag Problems!!
Post real error log, not "something like this".
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
-
- Posts: 51
- Joined: Wed Oct 13, 2010 10:11 pm
Re: Lag Problems!!
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._DS_ wrote:Post real error log, not "something like this".
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.
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Lag Problems!!
This is not normal. Somewhere in your custom code threads locked longer than needed time.
You can increase queue length, but better fix problem.
You can increase queue length, but better fix problem.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
-
- Posts: 51
- Joined: Wed Oct 13, 2010 10:11 pm
Re: Lag Problems!!
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.
- pinkcore
- Posts: 247
- Joined: Fri Jul 24, 2009 3:04 am
- Location: Czech Republic
Re: Lag Problems!!
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.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.
Are you using custom python scripts, likes scheme buffer, etc?
I'm not here only for food!
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Lag Problems!!
Return back this half of scripts and remove another.
Current version works without such problems on the dev's servers with significant online.
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;
public static final int PI = 3.1415926535897932384626433832795;
-
- Posts: 51
- Joined: Wed Oct 13, 2010 10:11 pm
Re: Lag Problems!!
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:

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

It can be the machine? is having the usage of cpu up sometimes...
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Lag Problems!!
Create "debug full" file from telnet during this problem, archive it and post.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
-
- Posts: 228
- Joined: Mon May 05, 2008 10:34 pm
Re: Lag Problems!!
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:
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...

-
- Posts: 51
- Joined: Wed Oct 13, 2010 10:11 pm
Re: Lag Problems!!
Im sorry for my ignorance but I don't know how to make a debug full file. What should I have to do?._DS_ wrote:Create "debug full" file from telnet during this problem, archive it and post.
-
- Posts: 228
- Joined: Mon May 05, 2008 10:34 pm
Re: Lag Problems!!
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.ElessarMS wrote:Im sorry for my ignorance but I don't know how to make a debug full file. What should I have to do?._DS_ wrote:Create "debug full" file from telnet during this problem, archive it and post.
That will create a log in your gameserver folder.

-
- Posts: 51
- Joined: Wed Oct 13, 2010 10:11 pm