Server starts slow

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
maneco2
Initiates
Initiates
Posts: 664
Joined: Sat Aug 24, 2013 7:10 am

Server starts slow

Post by maneco2 »

Datapack: 10165
Server: 6380

English: The server is taking 7 minutes to start completely ... with the latest revision .. tains some problem maybe?
Portugues: O server está demorando 7 minutos para iniciar completamente... com a ultima revisao.. tém algum problema talvez ? :?

Image
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Re: Server starts slow

Post by JMD »

Its true that it has become a lot slower (50%) than it used to be. I used to load a server with all quests and other scripts disabled in around 50-60 seconds. Now it takes around 100-120 seconds.
User avatar
maneco2
Initiates
Initiates
Posts: 664
Joined: Sat Aug 24, 2013 7:10 am

Re: Server starts slow

Post by maneco2 »

yes here takes 120 seconds, but updated and is now 400 seconds...tains anything wrong :cry:
vampir
Posts: 113
Joined: Sun Mar 28, 2010 6:17 pm

Re: Server starts slow

Post by vampir »

JMD wrote:Its true that it has become a lot slower (50%) than it used to be. I used to load a server with all quests and other scripts disabled in around 50-60 seconds. Now it takes around 100-120 seconds.
What slowed it down so much?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Server starts slow

Post by jurchiks »

Shitty code, of course.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
maneco2
Initiates
Initiates
Posts: 664
Joined: Sat Aug 24, 2013 7:10 am

Re: Server starts slow

Post by maneco2 »

the last revision l2j beta must be some problem or not?...432 seconds to start the server :?
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: Server starts slow

Post by Zoey76 »

Try this:

Code: Select all

### Eclipse Workspace Patch 1.0#P L2J_Server_BETAIndex: dist/game/startGameServer.bat===================================================================--- dist/game/startGameServer.bat   (revision 6324)+++ dist/game/startGameServer.bat   (working copy)@@ -5,7 +5,7 @@ echo Starting L2J Game Server. echo. -java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1536m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer+java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms256m -Xmx1536m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer  REM NOTE: If you have a powerful machine, you could modify/add some extra parameters for performance, like: REM -Xms1536m 
Powered by Eclipse 4.30 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.2.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
User avatar
maneco2
Initiates
Initiates
Posts: 664
Joined: Sat Aug 24, 2013 7:10 am

Re: Server starts slow

Post by maneco2 »

Code: Select all

+java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms256m -Xmx3072m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer]
128 seconds, thanks
User avatar
yksdtc
Posts: 76
Joined: Sat Jul 30, 2011 1:16 pm

Re: Server starts slow

Post by yksdtc »

maneco wrote:

Code: Select all

+java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms256m -Xmx3072m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer]
128 seconds, thanks
more faster

Code: Select all

java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -noclassgc -Xms3072m -Xmx3072m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServe
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Re: Server starts slow

Post by JMD »

I had a bad ram, i removed it and with most quests/scripts disabled it loads at around 70 sedonds. Although it used to be around 50-60 seconds on older versions.
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Server starts slow

Post by UnAfraid »

Try that it may decrease a little memory usage
Gist by: UnAfraid
Image
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Re: Server starts slow

Post by JMD »

UnAfraid wrote:Try that it may decrease a little memory usage
Gist by: UnAfraid
Wow 100mb decrease!

Image

Image

:P
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: Server starts slow

Post by Zoey76 »

-Xms3072m
no way :lol:
Powered by Eclipse 4.30 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.2.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Server starts slow

Post by UnAfraid »

JMD wrote:Image :P
Image
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Re: Server starts slow

Post by JMD »

UnAfraid wrote:
JMD wrote:Image :P
Will you commit this?
Post Reply