Jump to content
  • 0

Very Long restart and lag. [L2j]


Kzah

Question

Hello,

 

I do not know where the problem is, so I just ask for help. My server runs on Ubuntu, it's a L2j server and it seems very slow to restart. And we have some lag in the game,  for example. when a monster gives an object.

 

Someone help me please?

 

Thanks !

 

Restart.

GM shutdown countdown is over. restarting NOW!

OfflineTradersTable: Offline traders stored.

Offline Traders Table: Offline shops stored(1227ms).

All players disconnected and saved(16010ms).

Stopping GameTimeController

Game Time Controller: Timer stopped(0ms).

All ThreadPools are now stopped

Thread Pool Manager: Manager has been shut down(5002ms).

Community Server Thread: Thread interruped(0ms).

Login Server Thread: Thread interruped(1ms).

GM restart received. Restarting NOW!

SevenSigns: Seven Signs data saved(42040ms).

SevenSigns: Seven Signs status saved(150ms).

RaidBossSpawnManager: All raidboss info saved(49845ms).

GrandBossManager: All Grand Boss info saved(2243ms).

Hellbound Manager: Data saved(0ms).

Item Auction Manager: All tasks stopped(0ms).

Olympiad System: Data saved(2ms).

Hero System: Data saved(0ms).

Clan System: Data saved(1264ms).

Cursed Weapons Manager: Data saved(3ms).

Castle Manor Manager: Data saved(1500ms).

FortressOfResistance: Sucessfully saved attackers down to database!

DevastatedCastle: Sucessfully saved attackers down to database!

BanditStronghold: Sucessfully saved attackers down to database!

WildBeastReserve: Sucessfully saved attackers down to database!

FortressOfTheDead: Sucessfully saved attackers down to database!

CHSiegeManager: Siegable hall attacker lists saved!

Quest Manager: Data saved(1190ms).

Global Variables Manager: Variables saved(3ms).

Items On Ground Manager: Data saved(621117ms).

Items On Ground Manager: Cleaned up(1ms).

Game Server: Selector thread has been shut down(1ms).

L2Database Factory: Database connection has been shut down(4ms).

 

My configuration :

i3 2130 3.4+ GHz

8 Go RAM

Connection 100 Mbps

 

My my.cnf

[client]

port    = 3306

socket  = /var/run/mysqld/mysqld.sock

 

# Here is entries for some specific programs

# The following values assume you have at least 32M ram

 

# This was formally known as [safe_mysqld]. Both versions are currently parsed.

[mysqld_safe]

socket  = /var/run/mysqld/mysqld.sock

nice    = 0

 

[mysqld]

#

# * Basic Settings

#

user    = mysql

pid-file    = /var/run/mysqld/mysqld.pid

socket  = /var/run/mysqld/mysqld.sock

port    = 3306

basedir  = /usr

datadir  = /var/lib/mysql

tmpdir  = /tmp

lc-messages-dir = /usr/share/mysql

skip-external-locking

#

# Instead of skip-networking the default is now to listen only on

# localhost which is more compatible and is not less secure.

bind-address    = 127.0.0.1

#

# * Fine Tuning

#

key_buffer  = 32M

max_allowed_packet  = 32M

thread_stack    = 192K

thread_cache_size = 8

# This replaces the startup script and checks MyISAM tables if needed

# the first time they are touched

myisam-recover = BACKUP

max_connections = 3000

#table_cache = 64

#thread_concurrency = 10

#

# * Query Cache Configuration

#

query_cache_limit = 2M

query_cache_size = 32M

#

# * Logging and Replication

#

# Both location gets rotated by the cronjob.

# Be aware that this log type is a performance killer.

# As of 5.1 you can enable the log at runtime!

#general_log_file = /var/log/mysql/mysql.log

#general_log = 1

#

# Error log - should be very few entries.

#

log_error = /var/log/mysql/error.log

#

# Here you can see queries with especially long duration

log_slow_queries    = /var/log/mysql/mysql-slow.log

long_query_time = 2

log-queries-not-using-indexes

#

# The following can be used as easy to replay backup logs or for replication.

# note: if you are setting up a replication slave, see README.Debian about

# other settings you may need to change.

#server-id  = 1

#log_bin    = /var/log/mysql/mysql-bin.log

expire_logs_days    = 10

max_binlog_size = 100M

#binlog_do_db    = include_database_name

#binlog_ignore_db  = include_database_name

#

# * InnoDB

#

# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.

# Read the manual for more InnoDB related options. There are many!

#

# * Security Features

#

# Read the manual, too, if you want chroot!

# chroot = /var/lib/mysql/

#

# For generating SSL certificates I recommend the OpenSSL GUI "tinyca".

#

# ssl-ca=/etc/mysql/cacert.pem

# ssl-cert=/etc/mysql/server-cert.pem

# ssl-key=/etc/mysql/server-key.pem

 

[mysqldump]

quick

quote-names

max_allowed_packet  = 32M

 

[mysql]

#no-auto-rehash # faster start of mysql but no tab completition

 

[isamchk]

key_buffer  = 32M

 

#

# * IMPORTANT: Additional settings that can override those from this file!

# The files must end with '.cnf', otherwise they'll be ignored.

#

!includedir /etc/mysql/conf.d/

 

innodb_flush_log_at_trx_commit=2

 

innodb_buffer_pool_size=1024M

 

innodb_thread_concurrency=80

 

CPU and Ram:

CPU : ~6%

RAM : ~25%

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

Items On Ground Manager: Data saved(621117ms).

 

there lies your problem :D

True.

 

Many items are dropped on the ground. It's better to disable dropping items on the ground.

Link to comment
Share on other sites

  • 0

True.

 

Many items are dropped on the ground. It's better to disable dropping items on the ground.

 

just disable the itemsongroundmanager, its pointless anyway.

Link to comment
Share on other sites

  • 0

Too many objects on the ground cause a general latency ?

Even the raidboss save ? Or Seven sign ? Or Other ?

 

RaidBossSpawnManager: All raidboss info saved(49845ms).

SevenSigns: Seven Signs data saved(42040ms).

 

On my old machine (Windows), I did not have as big of time, even with a lot of objects on the ground. :/

 

Link to comment
Share on other sites

  • 0

Too many objects on the ground cause a general latency ?

Even the raidboss save ? Or Seven sign ? Or Other ?

 

On my old machine (Windows), I did not have as big of time, even with a lot of objects on the ground. :/

 

 

what pack are you using?

Link to comment
Share on other sites

  • 0

L2J Revision Number: 6098

L2JDP Revision Number: 9859

 

I also had the pack on my old dedicated server.

 

Do you have any modification in it or its a clean pack?

Link to comment
Share on other sites

  • 0

There have been changes. I try to make a clean and stable version to see if anything changes?

 

Run a clean one and test it. If the issue doesnt exist in a clean pack than its your modifications probably.

Link to comment
Share on other sites

  • 0

This is better, but this is normal because the database contains only the initial data, except one player. But by making the difference with an image of a developer of L2j .. it's still important. I will try again when my database will be filled.

The pack is the last stable version de L2j.

 

1374499330-clip-42kb.png?nocache=1

 

All players disconnected and saved(834ms).

Stopping GameTimeController

Game Time Controller: Timer stopped(1ms).

All ThreadPools are now stopped

Thread Pool Manager: Manager has been shut down(5003ms).

Community Server Thread: Thread interruped(0ms).

Login Server Thread: Thread interruped(0ms).

GM shutdown received. Shutting down NOW!

SevenSignsFestival: Festival data saved(2129ms).

SevenSigns: Seven Signs data saved(1ms).

SevenSigns: Seven Signs status saved(157ms).

RaidBossSpawnManager: All raidboss info saved(48047ms).

GrandBossManager: All Grand Boss info saved(4643ms).

Hellbound Manager: Data saved(0ms).

TradeController saving data.. This action may take some minutes! Please wait until completed!

TradeController: All count Item saved(760ms).

Item Auction Manager: All tasks stopped(0ms).

Olympiad System: Data saved(312ms).

Hero System: Data saved(0ms).

Clan System: Data saved(0ms).

Cursed Weapons Manager: Data saved(2ms).

Castle Manor Manager: Data saved(7ms).

FortressOfResistance: Sucessfully saved attackers down to database!

DevastatedCastle: Sucessfully saved attackers down to database!

BanditStronghold: Sucessfully saved attackers down to database!

WildBeastReserve: Sucessfully saved attackers down to database!

FortressOfTheDead: Sucessfully saved attackers down to database!

CHSiegeManager: Siegable hall attacker lists saved!

Quest Manager: Data saved(494ms).

Global Variables Manager: Variables saved(1325ms).

Game Server: Selector thread has been shut down(0ms).

L2Database Factory: Database connection has been shut down(3ms).

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • We remind you that the opening will take place today, on September 28 at: 19:00 (UTC+3) - server time Check current server time(UTC +3) On 17:00 (UTC +3) We allow you login to create character! Dear friends, this topic important! So please take time to read it. First we want to thank all players who took part in the Open Beta testing, was good activity and nice Olympiad Event yesterday, we all get a lot of fun  Thanks to all who conducted tests with us and prepared this game world! You are amazing!  On 17:00 (UTC +3) We allow you to login for create character! To restrict your name and transfer ToDs/Season Pack to your character. Make it before start! On start, we can have problems with WEB! Everything you need to start on the server: It is IMPORTANT to prepare everything for starting the game RIGHT NOW, do not postpone for later, during the opening there may be problems with the web part of the project, and you simply can not register. - Registration and files Download archive unzip it, run launcher, choose SEASON x25 server and press FULL CHECK What you need to know at the start: Registration for 7 seals from Monday, September 30, full cycle 1 week. First Mammons on Friday October 4 All Epic Raid Bosses dead on start. First epic QA will appear on Monday, next day Core + Zaken + QA and so on by schedule All other RBs alive on server start (including Sub and Nobl RB) - Full RoadMap   About possible attacks on server start. We have prepared as good as we can. We will control the start of the server together with you. Want to ask you, in the case of a problem, don't panic, panic is the worst possible thing that could be, even worse than any attack. We have enough specialists to solve any problems, all that will need from you is patience and trust. Wish you all a smooth start and months of enjoyable play in new Season Interlude x25! Have a fun!
    • 🚨🇦🇷🇧🇷🇪🇸🇸🇰🇺🇳🇨🇱🚨 Devianne - Lineage 2 Interlude  Client - Classic. 🔷Rates 🔸Experience (EXP) - 10x 🔸Skill Points (SP) - 10x 🔸Adena - 6x 🔸Drop Items - 3x 🔸Spoil - 3x 🔸Quest Experience (EXP) - 1x 🔸Quest Skill Points (SP) - 1x 🔸Quest Adena - 1x 🔸Quest Items Drop - 1x 🔸Seal stone Drop - 1x 🔸Epic raid - 1x 🔸Raid Drop - 2.0x 🔸Manor - 5x 🔷Dynamic Rates XP/SP 🔸Lv. 1-52 EXP/SP X10 (x7 without VIP or vote reward) 🔸Lv. 52-61 EXP/SP X7(x5 without VIP or vote reward) 🔸Lv. 61-76 EXP-SP X5 (x3 without VIP or vote reward) 🔸Lv. 76-78 EXP/SP X3 (x2 without VIP or vote reward) 🔸Lv. 78-80 EXP/SP X2 (x1 without VIP or vote reward) ⚠️Extra Settings⚠️ 🔸Server time, site - GMT -3 🔸Buffs, Dances, and Songs duration - 1 hour 🔸Max Buffs Slots - 22 + 4 divine 🔸Maximum Slots Dances and Songs - 12 🔸GmShop Grade - C 🔸Global teleport 🔸Grade B-A-S - Craft 🔸Mana potion recharge 🔸1000 (9 seconds delay) 🔸Raid HP - x1.4 🔸Raid epic HP - x1 🔸Blacksmith Mammon - 24/7 🔸Champions System - Yes chance respawn 0.5% 🔸Offline mode Shop - Yes 🔸Auto Learn Skills - Yes 🔸Auto Learn Loot - Yes 🔸Auto Learn Raid & Grand 🔸Boss Loot - No 🔸Buffer offline - Yes 🔸Wedding System - Yes 🔸Max level diff distribution drop in party - 14 🔸Limit the number of active gaming clients on one PC - 2 🔸Limit the number of active gaming clients on one PC for Premium - 3 🔸The clan leader will be replaced after server restart ⚠️Class and Subclass Change⚠️ 🔸1st profession Quest - No 🔸2nd profession Quest - No 🔸3rd profession Quest - Yes 🔸Sub Class Quest- Yes 🔸Sub Class Raid - 8 hours +-30m random 🔸Nobility and Olympiads Nobility Quest - Yes 🔸Olympiads (duration) - 14 days 🔸Max enchant - +6 🔸Respawn Barakiel 6 hours - +-15 min random 🔸Olympiad schedule - 13:00 to 00:00 🔸Minimum players to start olympiad - 11 Clans and Sieges Penalty duration - 8 hours 🔸Sieges every - 15 days Max Ally - 2 🔸Max Members - 36 🔸Slots for academies in clan - 40 ⚠️Enchants Rate⚠️ 🔸Blessed Scroll chance 60% 1-10 11-16 40% 🔸Crystal Scroll chance 65% 1-10 11-16 40% 🔸Normal Scroll chance - 55% 🔸Safe Enchant - +4 ⚠️Premium Info⚠️ 🔅+20% xp sp drop spoil adena 🔅+5% additional enchant rate (premium 30 days)   Free autofarm ⚠️Starter Pack⚠️ 🔅Free Premium - 24 hours 🔅Free Autofarm - 24 hours ❇️Raid boss Info❇️ 🔸Anakim/Lilith respawn 18 hours +1:30min random 🔸Tyrannosaurus - respawn 8 min drop Tl 76 🔸Queen Ant (LVL 80) - Respawn Monday and Saturday 22:00 🔸CORE (LVL 80) - Respawn Tuesday-Friday 20:00 🔸ORFEN (LVL 80) - Respawn Tuesday-Friday 21:00 🔸BAIUM (LVL 80) - Respawn Saturday 21:00 🔸ZAKEN (LVL 80) - Respawn Wednesday-Thursday 22:00 🔸FRINTEZZA (LVL 85) - Sunday 19:45 ⚔️Quest Details⚔️ QUEST WEAPON RECIPES: - Relics of the Old Empire x1: - Gather the Flames x1 x1: QUEST ARMOR RECIPES: - Alliance with Varka Silenos x1 - Alliance with Ketra Orcs x1 - War with Ketra x1 - War with Varka x1 - Gather the Exploration of the Giants’ Cave Part 1 x3 - Exploration of the Giants’ Cave Part 2 x1 - Whispers of Dream part 2 x2 - Legacy of Insolence x1 QUEST RECIPES JEWERLY - The Finest Food x1 QUEST RESOURCES - The Zero Hour x2 - Golden Ram Mercenary x2 - An Ice Merchant dream x2 QUEST FOR FABRIC: - Whispers of Dream part 1 x1 BEAST FARM : - Delicious Top Choice Meat x2 👁️OTHER QUEST👁️ 👁️- Yoke of the Past x2 👁️- In Search of Fragments of Dimension x2 👁️- The finest Ingredients x3 👁️- Supplier of reagents x3 - 👁️3rd class Halisha Marks drop x3 - 👁️Into the flames x3 - 👁️Audience with the land dragon x3 - 👁️An Arrogant Search x3 - 👁️Last Imperial Prince x3 🚨Soul Crystal Details🚨 🔸- Level up crystals to 11, 12, 13 🔸- All epics can level up crystals for the whole party (Queen Ant, Core, Orfen, Zaken, Baium, Antharas, Valakas, Frintezza). - 🔸Bosses in PVP zone: Master Anays, High Priest Van Halter. 👁️🔸- Anakim/Lilith, Uruka. - You can level up crystals in Rift, but only 1 party can challenge Anakazel (10%)PARTY_RANDOM at the same time (if one party is in the boss, you need wait them to go out). 👁️🔸- You can level up crystals in Primeval Island by killing tyrannosaurus with 10% chance PARTY_ALL for the person who cast the crystal and makes last hit. ⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️ WEB: https://devianne-l2.com/ DISCORD: https://discord.gg/Q3HAMzasUk 🔥🔥SERVER TEST OPEN !!🔥🔥🔥
    • I am here for the plank jumps and the cookies any news about that?
    • the links are offiline, could you reupload them please, if you have other versions of h5 or c6 could you share them too, thanks!
    • Good afternoon everyone, we’ll get a couple of strong players in the CP, more details can be found here https://mw2.community/topic/211276-awr-team/  
  • Topics

×
×
  • Create New...