We moved our repositories to BitBucket!

If you can't login or you can't register to the forums do not rise an issue, instead please write to support (at) l2jserver.com

Check our wiki!

Report server issues here

Forum has been updated to phpBB 3.2, let's see if this fixes some minor bugs we had.

Thank you for visiting http://www.l2jserver.com/

L2J Threading 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 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Geemo
Posts: 64
Joined: Mon Sep 07, 2009 4:12 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

L2J Threading configuration

Post by Geemo » Wed Jan 03, 2018 3:19 pm

Hi all,

Can someone explain me a little bit of this.

How do you configure l2j threading at general.properties

User avatar
Sacrifice
Advanced User
Advanced User
Posts: 1019
Joined: Thu Aug 14, 2014 6:31 am
Location: Spain
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: L2J Threading configuration

Post by Sacrifice » Wed Jan 03, 2018 9:18 pm

Geemo wrote:
Wed Jan 03, 2018 3:19 pm
Hi all,

Can someone explain me a little bit of this.

How do you configure l2j threading at general.properties
Not needed to touch this settings, it's sufficient with default values.

This values, set the different thread pool size and the cores to manage the different pools for each type of thread pools. If you want to investigate in deep, take a look of ThreadPoolManager class that can tell you those that you need to know if you're experienced. If not, don't touch nothing :lol: :lol: :+1:
Retail GameMaster and Developer using Eclipse for Java Developers (64 bits), OpenJDK11 (64 bits), MySQL 8.0+ (64 bits).

Geemo
Posts: 64
Joined: Mon Sep 07, 2009 4:12 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: L2J Threading configuration

Post by Geemo » Wed Jan 03, 2018 11:00 pm

Sacrifice wrote:
Wed Jan 03, 2018 9:18 pm
Geemo wrote:
Wed Jan 03, 2018 3:19 pm
Hi all,

Can someone explain me a little bit of this.

How do you configure l2j threading at general.properties
Not needed to touch this settings, it's sufficient with default values.

This values, set the different thread pool size and the cores to manage the different pools for each type of thread pools. If you want to investigate in deep, take a look of ThreadPoolManager class that can tell you those that you need to know if you're experienced. If not, don't touch nothing :lol: :lol: :+1:
I found some info about that
viewtopic.php?t=15700

I am alredy checking the class.

User avatar
ShinichiYao
Advanced User
Advanced User
Posts: 246
Joined: Tue Jan 12, 2016 3:53 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: L2J Threading configuration

Post by ShinichiYao » Thu Jan 04, 2018 6:53 am

Increase the value cause deadlock much easier by my experience.

Geemo
Posts: 64
Joined: Mon Sep 07, 2009 4:12 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: L2J Threading configuration

Post by Geemo » Thu Jan 04, 2018 10:45 pm

ShinichiYao wrote:
Thu Jan 04, 2018 6:53 am
Increase the value cause deadlock much easier by my experience.
I will

User avatar
Sacrifice
Advanced User
Advanced User
Posts: 1019
Joined: Thu Aug 14, 2014 6:31 am
Location: Spain
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: L2J Threading configuration

Post by Sacrifice » Fri Jan 05, 2018 4:26 pm

All of this require that you know how many cores and threads do you have in your server machine. deadlocks can be produced, yes.
Retail GameMaster and Developer using Eclipse for Java Developers (64 bits), OpenJDK11 (64 bits), MySQL 8.0+ (64 bits).

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable