Page 1 of 3
Lag Problems!!
Posted: Tue Oct 26, 2010 7:30 pm
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.
Re: Lag Problems!!
Posted: Wed Oct 27, 2010 3:37 am
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
Re: Lag Problems!!
Posted: Wed Oct 27, 2010 5:24 am
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?.
Re: Lag Problems!!
Posted: Wed Oct 27, 2010 6:47 am
by _DS_
Post real error log, not "something like this".
Re: Lag Problems!!
Posted: Wed Oct 27, 2010 10:25 am
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.
Re: Lag Problems!!
Posted: Wed Oct 27, 2010 10:53 am
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.
Re: Lag Problems!!
Posted: Wed Oct 27, 2010 11:19 am
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.
Re: Lag Problems!!
Posted: Wed Oct 27, 2010 12:11 pm
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?
Re: Lag Problems!!
Posted: Wed Oct 27, 2010 12:14 pm
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.
Re: Lag Problems!!
Posted: Wed Oct 27, 2010 12:59 pm
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:
It can be the machine? is having the usage of cpu up sometimes...
Re: Lag Problems!!
Posted: Wed Oct 27, 2010 1:07 pm
by _DS_
Create "debug full" file from telnet during this problem, archive it and post.
Re: Lag Problems!!
Posted: Wed Oct 27, 2010 1:09 pm
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:
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...
Re: Lag Problems!!
Posted: Wed Oct 27, 2010 1:17 pm
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?.
Re: Lag Problems!!
Posted: Wed Oct 27, 2010 1:19 pm
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.
Re: Lag Problems!!
Posted: Wed Oct 27, 2010 2:24 pm
by ElessarMS
I have a problem, I made everything you said and I have this error:
