Debugging: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
Line 20: Line 20:
If its server lag and you are the owner or on single player
If its server lag and you are the owner or on single player
* Run the command <code>/debug logticks 100</code> let it run for a while and then send us the server-main.txt, it's found in <code>%appdata%/VintagestoryData/Logs</code>.  Run the same command again to disable the logging
* Run the command <code>/debug logticks 100</code> let it run for a while and then send us the server-main.txt, it's found in <code>%appdata%/VintagestoryData/Logs</code>.  Run the same command again to disable the logging
== Improving Server Performance ==
* Make sure the savegame is on an SSD
* Make sure 2+ GB of system ram stays free
* in serverconfig.json
MaxChunkRadius = reduce to 10 to reduce max view distance
TickTime = set 40 or 50. That gives a bit of cpu headroom (lowers server TPS from 30 TPS to 25 or 20)
* in servermagicnum.json
DefaultEntityTrackingRange set to 3    (reduce the range at which distance creatures are still active from 128 blocks to 96 blocks)
Confirmedusers, Bureaucrats, editor, Administrators
1,778

edits