[DONE HOPEFULLY] server lags every 5 minutes
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 56
- Joined: Sat Dec 29, 2012 3:28 am
[DONE HOPEFULLY] server lags every 5 minutes
L2J Revision 5808
L2JDP Revision 9461
so i properly installed and set the server from
http://www.l2jserver.com/nightly/
the problem is that the game lags every 5 minutes
i can see the cpu full loads at processes: javablabla.exe
i tried some older revisions and the same
i tried setting save data intervals to bigger butt no effect
I know i installed properly and leave it's retail settings, only a few sett up like atack speed bla bla autolearn skills
I have from the same branch another server that is running for an year and it haves not problem with lag
it barely using cpu lool XD !
widows xp sp3
MySQL Server 5.5 posibility that i need 5.6 ?
java7 SEDK
L2JDP Revision 9461
so i properly installed and set the server from
http://www.l2jserver.com/nightly/
the problem is that the game lags every 5 minutes
i can see the cpu full loads at processes: javablabla.exe
i tried some older revisions and the same
i tried setting save data intervals to bigger butt no effect
I know i installed properly and leave it's retail settings, only a few sett up like atack speed bla bla autolearn skills
I have from the same branch another server that is running for an year and it haves not problem with lag
it barely using cpu lool XD !
widows xp sp3
MySQL Server 5.5 posibility that i need 5.6 ?
java7 SEDK
Last edited by puredemonsss on Tue Apr 02, 2013 9:28 pm, edited 2 times in total.
- Szponiasty
- Advanced User
- Posts: 557
- Joined: Mon Apr 21, 2008 1:31 pm
- Location: Eastern Poland
Re: server lags at 5 minutes
You're most likely out of RAM (I'm assuming you're using 32bit system).
And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
-
- Posts: 56
- Joined: Sat Dec 29, 2012 3:28 am
Re: server lags at 5 minutes
i have 3 gig of ram, i know the limit at 32 bit is 3.2 gigSzponiasty wrote:You're most likely out of RAM (I'm assuming you're using 32bit system).
so when i'm playng i hava like 600 mb of ram free
the server ony takes like 1.3 gig and uses page file too
i don't tink the ram is the problem here
i tink the problem is that i have MySQL Server 5.5 and i need 5.6, i heard there is a lag problem related to 5.5 with those version for a while, or is just a scam !
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
-
- Posts: 56
- Joined: Sat Dec 29, 2012 3:28 am
Re: server lags every 5 minutes
[Do you mean that i have to install the 5.6 ? How do i config coz i usualy leave it on default setings !UnAfraid wrote:Non properly configured mysql looks like to me
- Szponiasty
- Advanced User
- Posts: 557
- Joined: Mon Apr 21, 2008 1:31 pm
- Location: Eastern Poland
Re: server lags at 5 minutes
In 32 bit OS you can allocate sth around 1.4G of RAM max to JVMpuredemonsss wrote:i have 3 gig of ram, i know the limit at 32 bit is 3.2 gigSzponiasty wrote:You're most likely out of RAM (I'm assuming you're using 32bit system).
so when i'm playng i hava like 600 mb of ram free
the server ony takes like 1.3 gig and uses page file too
i don't tink the ram is the problem here
i tink the problem is that i have MySQL Server 5.5 and i need 5.6, i heard there is a lag problem related to 5.5 with those version for a while, or is just a scam !

And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
-
- Posts: 56
- Joined: Sat Dec 29, 2012 3:28 am
Re: server lags at 5 minutes
Well i have a friend that uses 32bit like me and he dont have the same problem, and the proccess lags even with no client started at exact 5 min. I hope to finde the problem coz i still have some ideas. Il post it if i finde it !Szponiasty wrote: In 32 bit OS you can allocate sth around 1.4G of RAM max to JVM
-
- Posts: 56
- Joined: Sat Dec 29, 2012 3:28 am
Re: server lags every 5 minutes
ok i tink i got it thanx "Szponiasty" i hope
so i only increase it from 1024 to 1280 mb
startGameServer.bat
i hope the lag will not reapear i hope
[/b]

so i only increase it from 1024 to 1280 mb
startGameServer.bat
Code: Select all
@echo offtitle Game Server Console:startecho Starting L2J Game Server.echo.REM -------------------------------------REM Default parameters for a basic server.java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1280m -Xmx1280m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServerREMREM If you have a big server and lots of memory, you could experiment for example withREM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOptsREM -------------------------------------if ERRORLEVEL 2 goto restartif ERRORLEVEL 1 goto errorgoto end:restartecho.echo Admin Restart ...echo.goto start:errorecho.echo Server terminated abnormallyecho.:endecho.echo server terminatedecho.pause

- MELERIX
- L2j Veteran
- Posts: 6667
- Joined: Sat Sep 23, 2006 11:31 pm
- Location: Chile
- Contact:
Re: server lags every 5 minutes
is wrong, read this: viewtopic.php?f=80&t=26806&p=158066#p158066puredemonsss wrote:ok i tink i got it thanx "Szponiasty" i hope![]()
so i only increase it from 1024 to 1280 mb
startGameServer.bat
i hope the lag will not reapear i hopeCode: Select all
@echo offtitle Game Server Console:startecho Starting L2J Game Server.echo.REM -------------------------------------REM Default parameters for a basic server.java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1280m -Xmx1280m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServerREMREM If you have a big server and lots of memory, you could experiment for example withREM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOptsREM -------------------------------------if ERRORLEVEL 2 goto restartif ERRORLEVEL 1 goto errorgoto end:restartecho.echo Admin Restart ...echo.goto start:errorecho.echo Server terminated abnormallyecho.:endecho.echo server terminatedecho.pause
[/b]
-
- Posts: 56
- Joined: Sat Dec 29, 2012 3:28 am
Re: server lags every 5 minutes
ok i se but i have an poor pc so i thought that a little bit increase will do some good, but 8 gb, 8 cores, 64bit . . . is damn good PC, when my pc is like thisMELERIX wrote:is wrong, read this: viewtopic.php?f=80&t=26806&p=158066#p158066

windows xp sp3 32bit
ram 3 giga
cpu 1x @2790 mhz intel pentium 4 no HT (some prog. tell me that i have ht hoo knows

gpu hd 3650 512 mb
see what i mean ?

but if you can give me a good config. pls post it and thanx for help
Ill try like this than, and hope is good

Code: Select all
java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1280m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer
-
- Posts: 151
- Joined: Wed Jan 04, 2012 7:10 pm
Re: [DONE HOPEFULLY] server lags every 5 minutes
From my experience I can say that with geodata and max memory size less than ~1.5gb there some "out of memory" errors could appear after a server runs for a day or longer, even if there are no players (it was a server for testing). With bigger memory size it's runs fine for weeks (without restarts, I meant). Without a geo it should be ~700mb less.
a server needs some memory just for it's proper work, and it's more than a server needs to just starts.
a server needs some memory just for it's proper work, and it's more than a server needs to just starts.