lag and crash
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: lag and crash
what custom mods are you running?
-
- Posts: 335
- Joined: Wed Nov 04, 2009 7:51 am
Re: lag and crash
I did disabled many of them still same.
- Naonah
- Posts: 357
- Joined: Sun Apr 04, 2010 11:12 pm
Re: lag and crash
are you running on Linux?
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
-
- Posts: 335
- Joined: Wed Nov 04, 2009 7:51 am
Re: lag and crash
no I am running on windows, but all settings are the same that I run epilogue.
- Stake
- Posts: 383
- Joined: Sun Mar 23, 2008 9:33 pm
- Location: Hungary
- Contact:
Re: lag and crash
I think, you mean 4096m, right? What are the rest of your running parameters?Lupu1 wrote: its 4096


-
- Posts: 335
- Joined: Wed Nov 04, 2009 7:51 am
Re: lag and crash
REM java -server -Xmx4096m -Xms4096m -Xmn1024m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
- Stake
- Posts: 383
- Joined: Sun Mar 23, 2008 9:33 pm
- Location: Hungary
- Contact:
Re: lag and crash
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.Lupu1 wrote:REM java -server -Xmx4096m -Xms4096m -Xmn1024m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts


- Naonah
- Posts: 357
- Joined: Sun Apr 04, 2010 11:12 pm
Re: lag and crash
all is OK here.Lupu1 wrote:REM java -server -Xmx4096m -Xms4096m -Xmn1024m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
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;
}
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
-
- Posts: 335
- Joined: Wed Nov 04, 2009 7:51 am
Re: lag and crash
Server starts to lag at 50 ppl or something like that and after some time it complete blocks with many outofmemory errors in console.Stake wrote: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.Lupu1 wrote:REM java -server -Xmx4096m -Xms4096m -Xmn1024m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
Last edited by Lupu1 on Sat Oct 09, 2010 4:57 pm, edited 1 time in total.
-
- Posts: 6
- Joined: Sat Oct 25, 2008 9:03 am
Re: lag and crash
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
-
- Posts: 335
- Joined: Wed Nov 04, 2009 7:51 am
Re: lag and crash
I did save all my sql one by one separate and then edit them to fit in the freya sql's.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
-
- Posts: 6
- Joined: Sat Oct 25, 2008 9:03 am
Re: lag and crash
would you mind attach your whole gameserver running script?
- Stake
- Posts: 383
- Joined: Sun Mar 23, 2008 9:33 pm
- Location: Hungary
- Contact:
Re: lag and crash
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.
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.



-
- Posts: 335
- Joined: Wed Nov 04, 2009 7:51 am
Re: lag and crash
k I will give you morexMaylox wrote:would you mind attach your whole gameserver running script?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 6
- Joined: Sat Oct 25, 2008 9:03 am
Re: lag and crash
try this one and tell me your results
You do not have the required permissions to view the files attached to this post.