Posted July 9, 2017 Still getting lag on server. Any ideas? CPU usage at 9% Memory usage at 9GB out of 32GB (24GB annocated to java). [11:31:18 FM] INFO com.wurmonline.server.creatures.Creature: Polled Creature id, 1151520963821825, which took 2235.4998 millis. [11:31:18 FM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 2.377 seconds The creature with that ID is a horse. Does not appear to anything special about it. I have tried lowering the creature count (cut in half), same thing. 1 Share this post Link to post Share on other sites
Posted July 9, 2017 (edited) You can check near topic. But agree [03:53:48 PM] INFO com.wurmonline.server.creatures.Creature: Polled Creature id, 5154265269761, which took 21461.69 millis. [03:53:48 PM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 21.477 seconds [03:53:48 PM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 21.511 seconds Edited July 9, 2017 by DiWorm Share this post Link to post Share on other sites
Posted July 9, 2017 Now running server off a ram drive instead of SSD, Hopefully it will make a difference (?). Share this post Link to post Share on other sites
Posted July 9, 2017 2 hours ago, Jukken said: Now running server off a ram drive instead of SSD, Hopefully it will make a difference (?). I think nope... Proublem not with a SSD speed or RAM count. It's hardcoded limits or somthing else. Share this post Link to post Share on other sites
Posted July 9, 2017 I tryed all options of wurm.ini but no results. No negative, no positive. Server still laged with 50+ players. Players crying due high numbers of lag and leave. But I cant do anything. It seems to me that the developers simply did not test the game with a large number of online users and items(I think core of WU != core of WO) Last test I disable all params in wurm.ini with "scheldue" and what's we think? Just happens -- server hust stop write server.log no changing of RAM/CPU usage/lags Last test wurm.ini #Wurm online server initialization file. #Tue Jun 09 14:29:34 CEST 2015 #NUMBER_OF_DB_PLAYER_POSITIONS_TO_UPDATE_EACH_TIME=500 NUMBER_OF_DB_PLAYER_POSITIONS_TO_UPDATE_EACH_TIME=500 USE_SCHEDULED_EXECUTOR_TO_SAVE_DIRTY_MESH_ROWS=true SITE_DB_USER= LOGIN_DB_PORT=1 #USE_POOLED_DB=false USE_POOLED_DB=true #USE_SCHEDULED_EXECUTOR=true USE_SCHEDULED_EXECUTOR=false #USE_SCHEDULED_EXECUTOR_TO_SEND_TIME_SYNC=true USE_SCHEDULED_EXECUTOR_TO_SEND_TIME_SYNC=false PROSPECT=false DB_PORT=1 #USE_SCHEDULED_EXECUTOR_TO_UPDATE_CREATURE_POSITION_IN_DATABASE=true USE_SCHEDULED_EXECUTOR_TO_UPDATE_CREATURE_POSITION_IN_DATABASE=false USE_TILE_LOG=false CREATE_TEMPORARY_DATABASE_INDICES_AT_STARTUP=true USE_SCHEDULED_EXECUTOR_FOR_SERVER=false USE_SCHEDULED_EXECUTOR_TO_COUNT_EGGS=true LOGIN_DB_USER= SITE_DB_PASS= USE_SCHEDULED_EXECUTOR_TO_UPDATE_ITEM_DAMAGE_IN_DATABASE=true DB_USER=root ANALYSE_ALL_DB_TABLES=false PLAYER_CONN_MILLIS=1000 DBPATH=. #OPTIMISE_ALL_DB_TABLES=false OPTIMISE_ALL_DB_TABLES=false LOGIN_DB_PASS= USE_SCHEDULED_EXECUTOR_TO_UPDATE_PLAYER_POSITION_IN_DATABASE=true CHECK_WURMLOGS=false USE_SITE_DB=true USE_ITEM_TRANSFER_LOG=false USE_SCHEDULED_EXECUTOR_TO_SWITCH_FATIGUE=false DB_PASS= TRELLO_BOARD_ID= TRACK_OPEN_DATABASE_RESOURCES=false USE_SCHEDULED_EXECUTOR_TO_UPDATE_TWITTER=true TRELLO_MUTE_VOTE_BOARD_ID= NUMBER_OF_DIRTY_MESH_ROWS_TO_SAVE_EACH_CALL=10 DB_DRIVER= MAINTAINING=false LAG_THRESHOLD=1000 SITE_DB_HOST=localhost USE_LOGIN_DB=true DEVMODE=false SITE_DB_DRIVER=org.gjt.mm.mysql.Driver DBSTATS=false #SCHEDULED_EXECUTOR_SERVICE_NUMBER_OF_THREADS=20 SCHEDULED_EXECUTOR_SERVICE_NUMBER_OF_THREADS=12 USEDB=true USE_DATABASE_FOR_SERVER_STATISTICS_LOG=false USE_QUEUE_TO_SEND_DATA_TO_PLAYERS=false CAVEIMG=false LOGIN_DB_HOST=localhost LOGIN_DB_DRIVER= #USE_MULTI_THREADED_BANK_POLLING=false USE_MULTI_THREADED_BANK_POLLING=true USE_SCHEDULED_EXECUTOR_FOR_TRELLO=false USE_SCHEDULED_EXECUTOR_TO_TICK_CALENDAR=true RUNBATCH=false WEB_PATH=. DB_HOST=localhost USE_SPLIT_CREATURES_TABLE=false PLAYERLOG=numplayers.log STARTCHALLENGE=false CHECK_ALL_DB_TABLES=false #NUMBER_OF_DB_CREATURE_POSITIONS_TO_UPDATE_EACH_TIME=500 NUMBER_OF_DB_CREATURE_POSITIONS_TO_UPDATE_EACH_TIME=500 CREATESEEDS=false #NUMBER_OF_DB_ITEM_DAMAGES_TO_UPDATE_EACH_TIME=500 NUMBER_OF_DB_ITEM_DAMAGES_TO_UPDATE_EACH_TIME=1000 SITE_DB_PORT=1 USE_DIRECT_BYTE_BUFFERS_FOR_MESHIO=true PRUNEDB=false PREPSTATEMENTS=false CRASHED=false USE_INCOMING_RMI=true Share this post Link to post Share on other sites
Posted July 9, 2017 I may be the sqlite WU uses that has a limit. WO uses a more enterprise database system I think. Share this post Link to post Share on other sites
Posted July 9, 2017 1 minute ago, Jukken said: I may be the sqlite WU uses that has a limit. WO uses a more enterprise database system I think. I think in SQLite for us only 1 limit - disk speed. But with SSD and slow-sandbox game you cant reach this limit Share this post Link to post Share on other sites
Posted July 10, 2017 No lag message in log so far. Seems to have made quite a difference. Share this post Link to post Share on other sites
Posted July 10, 2017 11 hours ago, Jukken said: No lag message in log so far. Seems to have made quite a difference. You use my config? Be careful with this Share this post Link to post Share on other sites
Posted July 10, 2017 I enabled ram-drive and run wurm from there. Share this post Link to post Share on other sites
Posted July 11, 2017 (edited) 7 hours ago, Jukken said: I enabled ram-drive and run wurm from there. Hm.. Whats parameters of Wurm start script(how much RAM?), wurm.ini and RAMDisk you set? And what's software you use? Edited July 11, 2017 by DiWorm Share this post Link to post Share on other sites
Posted July 11, 2017 32GB ram on computer. ini [Memory] InitialHeap=16384m MaxHeapSize=24000m Samsung rapid mode (Magician) software och a 850 EVO. Share this post Link to post Share on other sites
Posted July 11, 2017 19 minutes ago, Jukken said: Samsung rapid mode (Magician) software och a 850 EVO. But this is not fully ram-drive. It's semi-ram (cache or comthing like this) You can have huge risks with this. Be carefull with backups Share this post Link to post Share on other sites
Posted July 11, 2017 All ram drives come with risks. I do regular backups. 1 Share this post Link to post Share on other sites
Posted July 11, 2017 Tested. SSD OCZ Trion 100 -- R/W speed ~500 MiB RAMDrive -- R/W speed ~7GiB. No lags, lol. Share this post Link to post Share on other sites
Posted July 11, 2017 I didn't have any lag when the server went live, but I guess being a large server and after a few years the database has grown quite alot and needs a lot of performance. Share this post Link to post Share on other sites
Posted July 11, 2017 4 minutes ago, Jukken said: I didn't have any lag when the server went live, but I guess being a large server and after a few years the database has grown quite alot and needs a lot of performance. Dont know what's about server who live more then us, but with crazy russian players we have 450mb items db for 4 months (70+ online in prime time) Share this post Link to post Share on other sites