Danyash Posted February 11 Report Posted February 11 (edited) Is it gonna work? I dont know, maybe not. Is it safe? Prorably. sysctl: vm.swappiness = 1 vm.max_map_count = 262144 vm.dirty_background_ratio = 5 vm.dirty_ratio = 10 vm.dirty_expire_centisecs = 2000 vm.dirty_writeback_centisecs = 500 net.core.rmem_default = 262144 net.core.wmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_max = 1048576 net.core.netdev_max_backlog = 5000 net.core.default_qdisc = fq net.ipv4.tcp_congestion_control = bbr VintagestoryServer.runtimeconfig.json: { "runtimeOptions": { "tfm": "net8.0", "framework": { "name": "Microsoft.NETCore.App", "version": "8.0.0" }, "configProperties": { "System.GC.Server": true, "System.GC.Concurrent": true, "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, "System.Runtime.TieredPGO": true } } } server.sh: export DOTNET_gcServer=1 export DOTNET_GCHighMemPercent=90 export DOTNET_TieredPGO=1 export DOTNET_TieredCompilation=1 export DOTNET_ReadyToRun=0 Custom, but can be used as reference: Spoiler { "Comment": "You can use this config to increase/lower the cpu and network load of the server. A Warning though: Changing these numbers might make your server run unstable or slow. Use at your own risk! Until there is an official documentation, feel free to ask in the forums what the numbers do.", "DefaultEntityTrackingRange": 2, "DefaultSimulationRange": 75, "RequestChunkColumnsQueueSize": 2000, "ReadyChunksQueueSize": 200, "ChunksColumnsToRequestPerTick": 4, "ChunksToSendPerTick": 192, "ChunkRequestTickTime": 20, "ChunkColumnsToGeneratePerThreadTick": 30, "ServerAutoSave": 300, "SpawnChunksWidth": 3, "TrackedEntitiesPerClient": 1500, "CalendarPacketSecondInterval": 60, "ChunkUnloadInterval": 4000, "UncompressedChunkTTL": 15000, "CompressedChunkTTL": 45000, "PlayerDesyncTolerance": 0.02, "PlayerDesyncMaxIntervalls": 20.0, "ChunkThreadTickTime": 5, "AntiAbuseMaxWalkBlocksPer200ms": 3, "AntiAbuseMaxFlySuspicions": 3, "AntiAbuseMaxTeleSuspicions": 8, "MaxPhysicsThreads": 4, "MaxWorldgenThreads": 6, "MaxEntitySpawnsPerTick": 8, "ServerMagicNumVersion": "1.3" } "Ip": null, "Port": 42420, "Upnp": false, "CompressPackets": true, "AdvertiseServer": true, "MaxClients": 40, "MaxClientsInQueue": 5, "PassTimeWhenEmpty": true, "MasterserverUrl": "http://masterserver.vintagestory.at/api/v1/servers/", "ModDbUrl": "https://mods.vintagestory.at/", "ClientConnectionTimeout": 150, "EntityDebugMode": false, "Password": null, "MapSizeX": 1024000, "MapSizeY": 256, "MapSizeZ": 1024000, "ServerLanguage": "en", "MaxChunkRadius": 18, "TickTime": 33.333332, "SpawnCapPlayerScaling": 0.5, "BlockTickChunkRange": 5, "MaxMainThreadBlockTicks": 10000, "RandomBlockTicksPerChunk": 16, "BlockTickInterval": 300, "SkipEveryChunkRow": 0, "SkipEveryChunkRowWidth": 0, "AntiAbuse": 0, "WorldConfig": { "Seed": null, "SaveFileLocation": "/home/vintagestory/data/Saves/default.vcdbs", "WorldName": "A new world", "AllowCreativeMode": true, "PlayStyle": "surviveandbuild", "PlayStyleLangCode": "surviveandbuild-bands", "WorldType": "standard", "WorldConfiguration": null, "MapSizeY": null, "CreatedByPlayerName": null, "DisabledMods": null, "RepairMode": false }, "NextPlayerGroupUid": 81, "GroupChatHistorySize": 20, "MaxOwnedGroupChannelsPerUser": 10, "OnlyWhitelisted": false, "WhitelistMode": 1, "VerifyPlayerAuth": true, "DefaultSpawn": null, "AllowPvP": true, "AllowFireSpread": true, "AllowFallingBlocks": true, "HostedMode": false, "HostedModeAllowMods": false, "VhIdentifier": null, "StartupCommands": null, "RepairMode": false, "AnalyzeMode": false, "CorruptionProtection": true, "RegenerateCorruptChunks": false, "ChatRateLimitMs": 1000, "DieBelowDiskSpaceMb": 400, "ModIdBlackList": null, "ModIdWhiteList": null, "LogBlockBreakPlace": false, "LogFileSplitAfterLine": 500000, "DieAboveErrorCount": 100000, "LoginFloodProtection": false, "TemporaryIpBlockList": false, "DisableModSafetyCheck": false, "DieAboveMemoryUsageMb": 50000 } Edited February 11 by Danyash
Recommended Posts