lag and crash

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
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: lag and crash

Post by Probe »

what custom mods are you running?
Lupu1
Posts: 335
Joined: Wed Nov 04, 2009 7:51 am

Re: lag and crash

Post by Lupu1 »

I did disabled many of them still same.
User avatar
Naonah
Posts: 357
Joined: Sun Apr 04, 2010 11:12 pm

Re: lag and crash

Post by Naonah »

are you running on Linux?
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
Lupu1
Posts: 335
Joined: Wed Nov 04, 2009 7:51 am

Re: lag and crash

Post by Lupu1 »

no I am running on windows, but all settings are the same that I run epilogue.
User avatar
Stake
Posts: 383
Joined: Sun Mar 23, 2008 9:33 pm
Location: Hungary
Contact:

Re: lag and crash

Post by Stake »

Lupu1 wrote: its 4096
I think, you mean 4096m, right? What are the rest of your running parameters?
Image
Image
Lupu1
Posts: 335
Joined: Wed Nov 04, 2009 7:51 am

Re: lag and crash

Post by Lupu1 »

REM java -server -Xmx4096m -Xms4096m -Xmn1024m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
User avatar
Stake
Posts: 383
Joined: Sun Mar 23, 2008 9:33 pm
Location: Hungary
Contact:

Re: lag and crash

Post by Stake »

Lupu1 wrote:REM java -server -Xmx4096m -Xms4096m -Xmn1024m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
This is not the real running parameter. REM is a batch command for comments. But if it's the real one, use concurrent low pause collector, and don't use Xnoclassgc. On huge servers, there are a lot of object creations, and memory gets full of it after a time.
Image
Image
User avatar
Naonah
Posts: 357
Joined: Sun Apr 04, 2010 11:12 pm

Re: lag and crash

Post by Naonah »

Lupu1 wrote:REM java -server -Xmx4096m -Xms4096m -Xmn1024m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
all is OK here.

hmm, really strange problem. I have no idea what it can be:/

btw : I dont think that he did not removed REM:D
Last edited by Naonah on Sat Oct 09, 2010 4:54 pm, edited 1 time in total.
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
Lupu1
Posts: 335
Joined: Wed Nov 04, 2009 7:51 am

Re: lag and crash

Post by Lupu1 »

Stake wrote:
Lupu1 wrote:REM java -server -Xmx4096m -Xms4096m -Xmn1024m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
This is not the real running parameter. REM is a batch command for comments. But if it's the real one, use concurrent low pause collector, and don't use Xnoclassgc. On huge servers, there are a lot of object creations, and memory gets full of it after a time.
Server starts to lag at 50 ppl or something like that and after some time it complete blocks with many outofmemory errors in console.
Last edited by Lupu1 on Sat Oct 09, 2010 4:57 pm, edited 1 time in total.
xMaylox
Posts: 6
Joined: Sat Oct 25, 2008 9:03 am

Re: lag and crash

Post by xMaylox »

the -xnoclassgc may cause this thing in servers with lots of people. i play in this server too. also lupu if you did not update your sql files to freya so the pack can get the data from it. and yes it lags with 50 people on cause it gets crazy with all the data it should get
Lupu1
Posts: 335
Joined: Wed Nov 04, 2009 7:51 am

Re: lag and crash

Post by Lupu1 »

xMaylox wrote:the -xnoclassgc may cause this thing in servers with lots of people. i play in this server too. also lupu if you did not update your sql files to freya so the pack can get the data from it. and yes it lags with 50 people on cause it gets crazy with all the data it should get
I did save all my sql one by one separate and then edit them to fit in the freya sql's.
xMaylox
Posts: 6
Joined: Sat Oct 25, 2008 9:03 am

Re: lag and crash

Post by xMaylox »

would you mind attach your whole gameserver running script?
User avatar
Stake
Posts: 383
Joined: Sun Mar 23, 2008 9:33 pm
Location: Hungary
Contact:

Re: lag and crash

Post by Stake »

Try this:
java -server -Xmx4096m -Xms4096m -Xmn1024m -XX:PermSize=256m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=8 -XX:+AggressiveOpts
Maybe the serial collector (default in Java) is messing around, so try another GC's. :)
Image
Image
Lupu1
Posts: 335
Joined: Wed Nov 04, 2009 7:51 am

Re: lag and crash

Post by Lupu1 »

xMaylox wrote:would you mind attach your whole gameserver running script?
k I will give you more
You do not have the required permissions to view the files attached to this post.
xMaylox
Posts: 6
Joined: Sat Oct 25, 2008 9:03 am

Re: lag and crash

Post by xMaylox »

try this one and tell me your results
You do not have the required permissions to view the files attached to this post.
Post Reply