Posted July 6, 2017 I have 1 idea: Could this be due to a huge number of items decaying on the tiles? Now we have a big influx of players and everyone is engaged in the creation and terraforming, in some places there are quite large accumulations of garbage..... Share this post Link to post Share on other sites
Posted July 6, 2017 The default params are definately low for any public server. 2048 works fine on a 2048 server with a couple of players, but needs to be adjusted for anything else. You should be fine to run a 8k map with 100ish players and have some room to wiggle with what you set it at now. Share this post Link to post Share on other sites
Posted July 6, 2017 (edited) 2 hours ago, DiWorm said: I have 1 idea: Could this be due to a huge number of items decaying on the tiles? Now we have a big influx of players and everyone is engaged in the creation and terraforming, in some places there are quite large accumulations of garbage..... Watch your ram usage, if you are using your max heap in ram then you will need to adjust up even more. Keep an eye on how much ram the java.exe which runs your server is using, you need to always have at least a slightly higher max heap than what you are using. For the server the cpu usage is rarely an issue. It is all the things being held in ram that generally causes a problem. However there are some tweaks in the ini you can play with. One being max number of threads. You should set your max number of threads to the same number of logical cores your rig has. For most quad core processors you will have 8 logical cores, so max thread should be 8. You can set it higher, and in many cases you will get better performance for standard running, but with it set higher the problem you run into is thread contention, which will cause a major spike until the contention resolves. Edited July 6, 2017 by Xyp Share this post Link to post Share on other sites
Posted July 6, 2017 17 minutes ago, Xyp said: Watch your ram usage, if you are using your max heap in ram then you will need to adjust up even more. Keep an eye on how much ram the java.exe which runs your server is using, you need to always have at least a slightly higher max heap than what you are using. For the server the cpu usage is rarely an issue. It is all the things being held in ram that generally causes a problem. However there are some tweaks in the ini you can play with. One being max number of threads. You should set your max number of threads to the same number of logical cores your rig has. For most quad core processors you will have 8 logical cores, so max thread should be 8. You can set it higher, and in many cases you will get better performance for standard running, but with it set higher the problem you run into is thread contention, which will cause a major spike until the contention resolves. Thanks, but we in another way now. We add more loggers to server. Root problem goes from 1 of 3 ways: Crops pull (I think not, coz crops timer 24h), Zones pull or Player Actions Pull (We have x2 action timer and 10 queue). But have some problems, coz zones pull have huge methods Need more time. Share this post Link to post Share on other sites
Posted July 6, 2017 (edited) Right, those pollers use threads, and those threads can have contention or run out of available threads to use and cause wait if not set properly. I did a lot of tweaking on that front early on. Only trying to help based off experience of dealing with the same issues myself. Glad you are doing well and have a good deal of players, if I can help let me know. Edited July 6, 2017 by Xyp 1 Share this post Link to post Share on other sites
Posted July 7, 2017 (edited) 9 hours ago, Xyp said: Right, those pollers use threads, and those threads can have contention or run out of available threads to use and cause wait if not set properly. I did a lot of tweaking on that front early on. Only trying to help based off experience of dealing with the same issues myself. Glad you are doing well and have a good deal of players, if I can help let me know. Thanks for help @Xyp, you mean wurm.ini param: SCHEDULED_EXECUTOR_SERVICE_NUMBER_OF_THREADS=20 ? But I think problem not with CPU, coz him working on 20-30% maximum. No graph jumps at the lag. [04:58:04 AM] INFO com.wurmonline.server.Server: current mem in use: 3738M free mem: 2195M Max mem: 18525M player count: 15 bytes in: 0 bytes out: 0 total in: 10649849 total out: 58636993 Server uptime: 16800 seconds. Unanswered questions:0 [05:00:47 AM] INFO com.wurmonline.server.players.Player: === Lag detected at pollActions: playerName: [Hoonter] 30.943 seconds [05:00:47 AM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 30.952 seconds [05:00:47 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 30.953 seconds [05:00:47 AM] INFO com.wurmonline.server.Server: Elapsed time (30956ms) for this loop was more than 1 second so adding it to the lag count, which is now: 284 [05:00:57 AM] INFO com.wurmonline.server.players.Player: === Lag detected at pollActions: playerName: [Gend] 4.265 seconds [05:00:57 AM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 4.269 seconds [05:00:57 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 4.269 seconds [05:00:57 AM] INFO com.wurmonline.server.Server: Elapsed time (4274ms) for this loop was more than 1 second so adding it to the lag count, which is now: 288 [05:01:13 AM] INFO com.wurmonline.server.players.Player: === Lag detected at pollActions: playerName: [Rapira] 8.32 seconds [05:01:13 AM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 8.328 seconds [05:01:13 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 8.329 seconds [05:01:13 AM] INFO com.wurmonline.server.Server: Elapsed time (8332ms) for this loop was more than 1 second so adding it to the lag count, which is now: 296 [05:01:18 AM] INFO com.wurmonline.server.players.Player: === Lag detected at pollActions: playerName: [Rapira] 0.899 seconds [05:01:18 AM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 0.902 seconds Huh? Edited July 7, 2017 by DiWorm Share this post Link to post Share on other sites
Posted July 7, 2017 I think that you are having the same issues as @razoreqx had with his Ages of Urath server. From what i can remember from his explanation, the server has two types of core thread usage, 'main thread', and another, (cant remember what he called it, we will call it 'other thread'.) In the server config file some where there are settings to set how many threads the server uses. Razor did alot of testing on what value was best for how many cores u have etc. And did have a one but cant remember what it was. I think server uses all but 1 thread for the 'main' and the 1 for 'other'. I cant remember what thread uses the 'other', there may be a lot that uses it and on a large server and with many players thread thrashing will occure as the 1 thread used for 'other' starts getting over whelmed. Share this post Link to post Share on other sites
Posted July 7, 2017 (edited) 39 minutes ago, bigsteve said: I think that you are having the same issues as @razoreqx had with his Ages of Urath server. From what i can remember from his explanation, the server has two types of core thread usage, 'main thread', and another, (cant remember what he called it, we will call it 'other thread'.) In the server config file some where there are settings to set how many threads the server uses. Razor did alot of testing on what value was best for how many cores u have etc. And did have a one but cant remember what it was. I think server uses all but 1 thread for the 'main' and the 1 for 'other'. I cant remember what thread uses the 'other', there may be a lot that uses it and on a large server and with many players thread thrashing will occure as the 1 thread used for 'other' starts getting over whelmed. I get 2 CPUs on 1st CPU starts OS and some game servers, on 2nd CPU just only wurm. For this I use cmd "start /affinity FFF000" (for wurm) coz CPUs have 12 cores foreach. Only once I saw how the load increased on 1 of the process cores (If this is important, then it was the 3rd core of the second processor) 100% Load of core will only on 3h tick with save map(I think). Have another ideas... Ideas about wurm.ini I think to much data in memory and need to change this params: Line 3: NUMBER_OF_DB_PLAYER_POSITIONS_TO_UPDATE_EACH_TIME=500 Line 62: NUMBER_OF_DB_CREATURE_POSITIONS_TO_UPDATE_EACH_TIME=500 Line 64: NUMBER_OF_DB_ITEM_DAMAGES_TO_UPDATE_EACH_TIME=500 But dont know -- much is better? Or min? Edited July 7, 2017 by DiWorm Share this post Link to post Share on other sites
Posted July 7, 2017 1 hour ago, bigsteve said: I think that you are having the same issues as @razoreqx had with his Ages of Urath server. You about this? Share this post Link to post Share on other sites
Posted July 7, 2017 yes, that is a very condensed version Razor did He expanded much more in detail on comms... Share this post Link to post Share on other sites
Posted July 8, 2017 (edited) I am not sure what OS you are running and such either, however on a Windows server I had to go into windows itself and do several hours worth of tweaking and fixing. In the beggining I used to have a lot of lag spikes and such, but over time I have gotten it about as smooth as I think is possible. Most of the time instant right clicks. It was a combination of adjustments in the Wurm.ini, Windows Server 2012 OS tweaks, and the launcher command line settings for appropriate ram usage. It is not about CPU % usage spiking you see in the resource monitor either. Thread contention is a different monster. It is a matter of a specific resource being fought over. Thread contention does not happen often in WU. You can crank up your max threads and get some great results. However if it does happen you will have a very noticable hard lag spike. Edited July 8, 2017 by Xyp Share this post Link to post Share on other sites
Posted July 8, 2017 3 hours ago, Xyp said: I am not sure what OS you are running and such either, however on a Windows server I had to go into windows itself and do several hours worth of tweaking and fixing. In the beggining I used to have a lot of lag spikes and such, but over time I have gotten it about as smooth as I think is possible. Most of the time instant right clicks. It was a combination of adjustments in the Wurm.ini, Windows Server 2012 OS tweaks, and the launcher command line settings for appropriate ram usage. It is not about CPU % usage spiking you see in the resource monitor either. Thread contention is a different monster. It is a matter of a specific resource being fought over. Thread contention does not happen often in WU. You can crank up your max threads and get some great results. However if it does happen you will have a very noticable hard lag spike. Have Win 2012r2 too, but IDK whats windows parameters can help me Share this post Link to post Share on other sites
Posted July 9, 2017 (edited) 1 problem solved, but another problems exist: Line 816: [09:32:16 PM] INFO com.wurmonline.server.Server: Elapsed time (79009ms) for this loop was more than 1 second so adding it to the lag count, which is now: 79 Line 882: [09:32:59 PM] INFO com.wurmonline.server.Server: Olgerth moves down to 23. Was lagging 41 seconds with a peak of 414 moves. Line 1042: [09:57:07 PM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 0.851 seconds Line 1085: [10:12:45 PM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 2.214 seconds Line 1086: [10:12:45 PM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 2.23 seconds Line 1087: [10:12:45 PM] INFO com.wurmonline.server.Server: Elapsed time (2238ms) for this loop was more than 1 second so adding it to the lag count, which is now: 81 Line 1091: [10:13:17 PM] INFO com.wurmonline.server.zones.Zone: === Lag detected in tile: 1413/2167 : 1073.7831 milliseconds. Line 1093: [10:13:17 PM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 1.076 seconds Line 1094: [10:13:17 PM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 1.081 seconds Line 1095: [10:13:17 PM] INFO com.wurmonline.server.Server: Elapsed time (1086ms) for this loop was more than 1 second so adding it to the lag count, which is now: 82 Line 1113: [10:23:25 PM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 1.376 seconds Line 1114: [10:23:25 PM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 1.377 seconds Line 1115: [10:23:25 PM] INFO com.wurmonline.server.Server: Elapsed time (1380ms) for this loop was more than 1 second so adding it to the lag count, which is now: 83 Line 1152: [10:31:58 PM] INFO com.wurmonline.server.villages.Village: Calculating outside spawn for The Pattern Line 1152: [10:31:58 PM] INFO com.wurmonline.server.villages.Village: Calculating outside spawn for The Pattern Line 1155: [10:33:36 PM] INFO com.wurmonline.server.Server: Lag detected at Player Moves (13): 3.147 Line 1156: [10:33:36 PM] INFO com.wurmonline.server.Server: Lag detected at socketserver.tick (15.5): 3.147 Line 1159: [10:33:36 PM] INFO com.wurmonline.server.Server: Elapsed time (3149ms) for this loop was more than 1 second so adding it to the lag count, which is now: 86 Line 1165: [10:35:14 PM] INFO com.wurmonline.server.Server: Gara moves down to 19. Was lagging 34 seconds with a peak of 441 moves. Line 1263: [10:39:59 PM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 2.488 seconds Line 1264: [10:39:59 PM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 2.525 seconds Line 1265: [10:39:59 PM] INFO com.wurmonline.server.Server: Elapsed time (2530ms) for this loop was more than 1 second so adding it to the lag count, which is now: 88 Line 1365: [11:05:08 PM] INFO com.wurmonline.server.questions.VillageInfo: Dimonboss checking Stud Farm financial info. Line 1400: [11:13:23 PM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 1.459 seconds Line 1401: [11:13:23 PM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 1.463 seconds Line 1402: [11:13:23 PM] INFO com.wurmonline.server.Server: Elapsed time (1476ms) for this loop was more than 1 second so adding it to the lag count, which is now: 89 Line 1482: [11:33:21 PM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 2.729 seconds Line 1483: [11:33:21 PM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 2.732 seconds Line 1484: [11:33:21 PM] INFO com.wurmonline.server.Server: Elapsed time (2736ms) for this loop was more than 1 second so adding it to the lag count, which is now: 91 Line 1507: [11:43:17 PM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 1.159 seconds Line 1508: [11:43:17 PM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 1.161 seconds Line 1510: [11:43:17 PM] INFO com.wurmonline.server.Server: Elapsed time (1174ms) for this loop was more than 1 second so adding it to the lag count, which is now: 92 Line 1619: [12:13:27 AM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 1.026 seconds Line 1620: [12:13:27 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 1.029 seconds Line 1621: [12:13:27 AM] INFO com.wurmonline.server.Server: Elapsed time (1030ms) for this loop was more than 1 second so adding it to the lag count, which is now: 93 Line 1718: [12:33:20 AM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 2.155 seconds Line 1719: [12:33:20 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 2.156 seconds Line 1720: [12:33:20 AM] INFO com.wurmonline.server.Server: Elapsed time (2164ms) for this loop was more than 1 second so adding it to the lag count, which is now: 95 Line 1762: [12:49:00 AM] INFO com.wurmonline.server.zones.Zone: === Lag detected in tile: 609/620 : 1951.3297 milliseconds. Line 1764: [12:49:00 AM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 1.955 seconds Line 1765: [12:49:00 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 1.961 seconds Line 1766: [12:49:00 AM] INFO com.wurmonline.server.Server: Elapsed time (1965ms) for this loop was more than 1 second so adding it to the lag count, which is now: 96 Line 1771: [12:53:18 AM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 0.906 seconds Line 1779: [01:00:08 AM] INFO com.wurmonline.server.zones.Zone: === Lag detected in tile: 459/2472 : 2267.5093 milliseconds. Line 1781: [01:00:08 AM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 2.271 seconds Line 1782: [01:00:08 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 2.277 seconds Line 1783: [01:00:08 AM] INFO com.wurmonline.server.Server: Elapsed time (2278ms) for this loop was more than 1 second so adding it to the lag count, which is now: 98 Line 1789: [01:03:18 AM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 1.323 seconds Line 1790: [01:03:18 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 1.328 seconds Line 1791: [01:03:18 AM] INFO com.wurmonline.server.Server: Elapsed time (1330ms) for this loop was more than 1 second so adding it to the lag count, which is now: 99 Line 1823: [01:23:28 AM] INFO com.wurmonline.server.zones.Zone: === Lag detected in tile: 609/620 : 992.64923 milliseconds. Line 1825: [01:23:28 AM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 0.996 seconds Line 1826: [01:23:28 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 1.005 seconds Line 1827: [01:23:28 AM] INFO com.wurmonline.server.Server: Elapsed time (1006ms) for this loop was more than 1 second so adding it to the lag count, which is now: 100 Line 1847: [01:37:11 AM] INFO com.wurmonline.server.Server: Lag detected at socketserver.tick (15.5): 2.243 Line 1850: [01:37:11 AM] INFO com.wurmonline.server.Server: Elapsed time (2245ms) for this loop was more than 1 second so adding it to the lag count, which is now: 102 Line 2367: [02:23:25 AM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 1.114 seconds Line 2368: [02:23:25 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 1.116 seconds Line 2369: [02:23:25 AM] INFO com.wurmonline.server.Server: Elapsed time (1122ms) for this loop was more than 1 second so adding it to the lag count, which is now: 103 Line 2395: [02:43:24 AM] INFO com.wurmonline.server.zones.Zone: === Lag detected in tile: 2139/3558 : 1492.3442 milliseconds. Line 2397: [02:43:24 AM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 1.494 seconds Line 2398: [02:43:24 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 1.498 seconds Line 2399: [02:43:24 AM] INFO com.wurmonline.server.Server: Elapsed time (1500ms) for this loop was more than 1 second so adding it to the lag count, which is now: 104 Line 2590: [04:13:23 AM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 2.347 seconds Line 2591: [04:13:23 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 2.354 seconds Line 2592: [04:13:23 AM] INFO com.wurmonline.server.Server: Elapsed time (2356ms) for this loop was more than 1 second so adding it to the lag count, which is now: 106 Line 2708: [05:00:37 AM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 21.942 seconds Line 2709: [05:00:37 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 21.944 seconds Line 2710: [05:00:37 AM] INFO com.wurmonline.server.Server: Elapsed time (21946ms) for this loop was more than 1 second so adding it to the lag count, which is now: 127 Line 2715: [05:01:09 AM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 4.514 seconds Line 2716: [05:01:09 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 4.516 seconds Line 2717: [05:01:09 AM] INFO com.wurmonline.server.Server: Elapsed time (4517ms) for this loop was more than 1 second so adding it to the lag count, which is now: 131 Line 2725: [05:08:56 AM] INFO com.wurmonline.server.Server: Lag detected at socketserver.tick (15.5): 2.577 Line 2728: [05:08:56 AM] INFO com.wurmonline.server.Server: Elapsed time (2580ms) for this loop was more than 1 second so adding it to the lag count, which is now: 133 Line 2734: [05:13:24 AM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 2.47 seconds Line 2735: [05:13:24 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 2.478 seconds Line 2736: [05:13:24 AM] INFO com.wurmonline.server.Server: Elapsed time (2479ms) for this loop was more than 1 second so adding it to the lag count, which is now: 135 Line 2769: [05:21:46 AM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 3.107 seconds Line 2770: [05:21:46 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 3.118 seconds Line 2771: [05:21:46 AM] INFO com.wurmonline.server.Server: Elapsed time (3119ms) for this loop was more than 1 second so adding it to the lag count, which is now: 138 Line 2799: [05:43:24 AM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 1.936 seconds Line 2800: [05:43:24 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 1.938 seconds Line 2801: [05:43:24 AM] INFO com.wurmonline.server.Server: Elapsed time (1939ms) for this loop was more than 1 second so adding it to the lag count, which is now: 139 Line 2845: [05:53:29 AM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 1.527 seconds Line 2846: [05:53:29 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 1.531 seconds Line 2847: [05:53:29 AM] INFO com.wurmonline.server.Server: Elapsed time (1533ms) for this loop was more than 1 second so adding it to the lag count, which is now: 140 Line 2957: [06:03:34 AM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 6.957 seconds Line 2958: [06:03:34 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 6.958 seconds Line 2959: [06:03:34 AM] INFO com.wurmonline.server.Server: Elapsed time (6960ms) for this loop was more than 1 second so adding it to the lag count, which is now: 146 Line 3009: [06:23:34 AM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 8.405 seconds Line 3010: [06:23:34 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 8.406 seconds Line 3011: [06:23:34 AM] INFO com.wurmonline.server.Server: Elapsed time (8432ms) for this loop was more than 1 second so adding it to the lag count, which is now: 154 Line 3102: [06:33:21 AM] INFO com.wurmonline.server.Server: Elapsed time (1206ms) for this loop was more than 1 second so adding it to the lag count, which is now: 155 Line 3120: [06:43:28 AM] INFO com.wurmonline.server.Server: Lag detected at socketserver.tick (15.5): 1.346 Line 3123: [06:43:28 AM] INFO com.wurmonline.server.Server: Elapsed time (1349ms) for this loop was more than 1 second so adding it to the lag count, which is now: 156 Line 3310: [07:26:17 AM] INFO com.wurmonline.server.Server: Floki moves down to 14. Was lagging 47 seconds with a peak of 998 moves. Line 3311: [07:29:40 AM] INFO com.wurmonline.server.zones.Zone: === Lag detected in tile: 458/2473 : 2222.5579 milliseconds. Line 3313: [07:29:40 AM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 2.225 seconds Line 3314: [07:29:40 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 2.232 seconds Line 3315: [07:29:40 AM] INFO com.wurmonline.server.Server: Elapsed time (2233ms) for this loop was more than 1 second so adding it to the lag count, which is now: 158 Line 3336: [07:41:54 AM] INFO com.wurmonline.server.Server: Floki moves down to 19. Was lagging 43 seconds with a peak of 546 moves. Line 3339: [07:43:22 AM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 2.997 seconds Line 3340: [07:43:22 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 3.001 seconds Line 3341: [07:43:22 AM] INFO com.wurmonline.server.Server: Elapsed time (3002ms) for this loop was more than 1 second so adding it to the lag count, which is now: 161 Line 3347: [07:46:21 AM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 1.254 seconds Line 3348: [07:46:21 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 1.256 seconds Line 3349: [07:46:21 AM] INFO com.wurmonline.server.Server: Elapsed time (1256ms) for this loop was more than 1 second so adding it to the lag count, which is now: 162 Line 3381: [08:13:40 AM] INFO com.wurmonline.server.Server: Elapsed time (7132ms) for this loop was more than 1 second so adding it to the lag count, which is now: 169 Line 3382: [08:13:59 AM] INFO com.wurmonline.server.Server: === Lag detected at Players.getInstance().pollPlayers(): 1.845 seconds Line 3383: [08:13:59 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 1.845 seconds Line 3384: [08:13:59 AM] INFO com.wurmonline.server.Server: Elapsed time (1846ms) for this loop was more than 1 second so adding it to the lag count, which is now: 170 Line 3430: [08:33:54 AM] INFO com.wurmonline.server.zones.Zone: === Lag detected in tile: 459/2472 : 24788.705 milliseconds. Line 3432: [08:33:54 AM] INFO com.wurmonline.server.Server: === Lag detected at Zones.pollNextZones(25L): 24.791 seconds Line 3433: [08:33:54 AM] INFO com.wurmonline.server.Server: Lag detected at Zones.pollnextzones (0.5): 24.802 seconds Line 3434: [08:33:54 AM] INFO com.wurmonline.server.Server: Elapsed time (24806ms) for this loop was more than 1 second so adding it to the lag count, which is now: 194 ===== 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=400 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_TO_SEND_TIME_SYNC=true PROSPECT=false DB_PORT=1 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=true 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_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=1000 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=true PREPSTATEMENTS=false CRASHED=false USE_INCOMING_RMI=false Idk... Solved 1 problem with zones by deleting decay items, but still lags some lags via burning objects and now get problems with Players.getInstance().pollPlayers() I try to edit NUMBER_OF_DB_PLAYER_POSITIONS_TO_UPDATE_EACH_TIME=400 //500 default I try number 1000 -- lags, async players I try number 400 -- no async, but lags with playr poll =\ Next time want to try 250 I think the main problem with which is not me, not my friends can not do anything — polls classes. Edited July 9, 2017 by DiWorm Share this post Link to post Share on other sites