GameServer_loop configuration

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
Zeldak
Posts: 42
Joined: Mon Jun 06, 2011 9:59 pm

GameServer_loop configuration

Post by Zeldak »

Code: Select all

ย  ย  nice -n -3 java -server -Xmx10G -Xms8G -Xmn4G -Xss256k -XX:PermSize=256m -XX:+UseThreadPriorities -XX:ParallelGCThreads=2 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -Xnoclassgc -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -cp ./../libs/*:l2jserver.jar com.l2jserver.gameserver.GameServer > log/stdout.log 2>&1ย 
Hey i use this line for the server.

I have to mention that i have

CPU: i7 920 Quad Core
RAM: 24GB DDR3
Bandline: 100 mb.
HDD: Raid1


Also when the server reaches about lets say 700 Unique IPs, at interval of hmm lets say 3-4 minutes there are very small spikes or when a mage use spells very fast they take DCs. I assume that is from the growing population becaus ebefore i didnt had any problem.

Is my gameserver_loop ok for my mahcine? should i improve it? if yes than how.
Also should i give it more ram?

Also about the bandline its enough for 700 Unique IPs or do i need to update at 1GB?
User avatar
Stake
Posts: 383
Joined: Sun Mar 23, 2008 9:33 pm
Location: Hungary
Contact:

Re: GameServer_loop configuration

Post by Stake »

You should run it with the default command, not with nice! You set the priority to -3, while the normal process priority is 0, and I think, you run mysql with default, so run the gameserver with default too. Remove that nice thing from the startup command.
Image
Image
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: GameServer_loop configuration

Post by Zoey76 »

Nice Linux command is well explained here: http://www.cyberciti.biz/faq/change-the ... a-process/
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
Zeldak
Posts: 42
Joined: Mon Jun 06, 2011 9:59 pm

Re: GameServer_loop configuration

Post by Zeldak »

Still lag spikes. I would want to know if its possible to be from networkspeed. And if it is thats how it manifesting or should be a continous delay?

I would buy 1GB line but iw ant to be sure, also how can i check how much badpseed im using in Ubuntu>?

Also im using Ubuntu Karmic 9-10
You do not have the required permissions to view the files attached to this post.
Zeldak
Posts: 42
Joined: Mon Jun 06, 2011 9:59 pm

Re: GameServer_loop configuration

Post by Zeldak »

So...any ideas cuz its kinda really important and i think we all should now how to resist to high number of players.

Cuz i can try to buy 1 gb line or to buy 1 SSD but maybe its just a config or smth that influence this.
And im sure that lot of persons met those problems.
User avatar
Stake
Posts: 383
Joined: Sun Mar 23, 2008 9:33 pm
Location: Hungary
Contact:

Re: GameServer_loop configuration

Post by Stake »

Zeldak wrote:So...any ideas cuz its kinda really important and i think we all should now how to resist to high number of players.

Cuz i can try to buy 1 gb line or to buy 1 SSD but maybe its just a config or smth that influence this.
And im sure that lot of persons met those problems.
Wtf are that 8 running java applications each allocating 9515M memory? I'm not wondering about lag spikes if it really uses 9515*8M of physical memory. You can buy an SSD of course for the swap, but I don't think, you really need that many servers. :O

Kill those processes, and run as many as you need, and test if lag still occurs. If so, I recommend you to buy a 1Gb line.
Image
Image
Zeldak
Posts: 42
Joined: Mon Jun 06, 2011 9:59 pm

Re: GameServer_loop configuration

Post by Zeldak »

is the server on all threads i guess because i have only 1 server opened. i can also give print of TOP
Zeldak
Posts: 42
Joined: Mon Jun 06, 2011 9:59 pm

Re: GameServer_loop configuration

Post by Zeldak »

Also this problems occurs when the players are sppamming skills they get d/c per player not whole server.
Post Reply