[DONE HOPEFULLY] server lags every 5 minutes

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
Post Reply
puredemonsss
Posts: 56
Joined: Sat Dec 29, 2012 3:28 am

[DONE HOPEFULLY] server lags every 5 minutes

Post by puredemonsss »

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
Last edited by puredemonsss on Tue Apr 02, 2013 9:28 pm, edited 2 times in total.
User avatar
Szponiasty
Advanced User
Advanced User
Posts: 557
Joined: Mon Apr 21, 2008 1:31 pm
Location: Eastern Poland

Re: server lags at 5 minutes

Post by Szponiasty »

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
puredemonsss
Posts: 56
Joined: Sat Dec 29, 2012 3:28 am

Re: server lags at 5 minutes

Post by puredemonsss »

Szponiasty wrote:You're most likely out of RAM (I'm assuming you're using 32bit system).
i have 3 gig of ram, i know the limit at 32 bit is 3.2 gig
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 !
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: server lags every 5 minutes

Post by UnAfraid »

Non properly configured mysql looks like to me
Image
puredemonsss
Posts: 56
Joined: Sat Dec 29, 2012 3:28 am

Re: server lags every 5 minutes

Post by puredemonsss »

UnAfraid wrote:Non properly configured mysql looks like to me
[Do you mean that i have to install the 5.6 ? How do i config coz i usualy leave it on default setings !
User avatar
Szponiasty
Advanced User
Advanced User
Posts: 557
Joined: Mon Apr 21, 2008 1:31 pm
Location: Eastern Poland

Re: server lags at 5 minutes

Post by Szponiasty »

puredemonsss wrote:
Szponiasty wrote:You're most likely out of RAM (I'm assuming you're using 32bit system).
i have 3 gig of ram, i know the limit at 32 bit is 3.2 gig
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 !
In 32 bit OS you can allocate sth around 1.4G of RAM max to JVM :P
And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
puredemonsss
Posts: 56
Joined: Sat Dec 29, 2012 3:28 am

Re: server lags at 5 minutes

Post by puredemonsss »

Szponiasty wrote: In 32 bit OS you can allocate sth around 1.4G of RAM max to JVM :P
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 !
puredemonsss
Posts: 56
Joined: Sat Dec 29, 2012 3:28 am

Re: server lags every 5 minutes

Post by puredemonsss »

ok i tink i got it thanx "Szponiasty" i hope :mrgreen:
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
i hope the lag will not reapear i hope :mrgreen: [/b]
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: server lags every 5 minutes

Post by MELERIX »

puredemonsss wrote:ok i tink i got it thanx "Szponiasty" i hope :mrgreen:
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
i hope the lag will not reapear i hope :mrgreen: [/b]
is wrong, read this: viewtopic.php?f=80&t=26806&p=158066#p158066
puredemonsss
Posts: 56
Joined: Sat Dec 29, 2012 3:28 am

Re: server lags every 5 minutes

Post by puredemonsss »

MELERIX wrote:is wrong, read this: viewtopic.php?f=80&t=26806&p=158066#p158066
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 this :mrgreen:
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 :mrgreen: )
gpu hd 3650 512 mb
see what i mean ? :mrgreen:
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 :mrgreen:

Code: Select all

java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1280m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer
[/b]
Arantir
Posts: 151
Joined: Wed Jan 04, 2012 7:10 pm

Re: [DONE HOPEFULLY] server lags every 5 minutes

Post by Arantir »

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.
Post Reply