photonnnn 发表于 2024-5-30 23:41:55

解决可能是tp引起的服务器崩溃?

本帖最后由 photonnnn 于 2024-5-31 09:16 编辑

在腾讯云2核4G轻量上搭建的1.20.6生存服务器,装了fabric,xaerosworldmap,xaerosminimap和concerto。用了mcsmanager的docker部署,没有在容器里设置硬件限制,也没有在启动参数里加ram限制。不知道是不是因为tp太频繁(以及太远)导致卡死,卡死的时候硬盘读写飙升到200MB/s(但cpu和ram好像都还没占满),服务器直接死机,需要整个重启,而且会没有崩溃报告。服务器常年只有2-3个玩家,这种情况在只有一个玩家的情况下也可能发生。存档里只有一些很简单的生电,没有很复杂的建筑。

想请问一下这种情况有什么解决方案吗?谢谢!
-- System Details --
Details:
Minecraft Version: 1.20.6
Minecraft Version ID: 1.20.6
Operating System: Linux (amd64) version 5.15.0-94-generic
Java Version: 21, Eclipse Adoptium
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium
Memory: 516947968 bytes (493 MiB) / 1625292800 bytes (1550 MiB) up to 4294967296 bytes (4096 MiB)
CPUs: 2
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Xeon(R) Platinum 8361HC CPU @ 2.60GHz
Identifier: Intel64 Family 6 Model 85 Stepping 5
Microarchitecture: Cascade Lake
Frequency (GHz): 2.60
Number of physical packages: 1
Number of physical CPUs: 2
Number of logical CPUs: 2
Graphics card #0 name: unknown
Graphics card #0 vendor: unknown
Graphics card #0 VRAM (MB): 0.00
Graphics card #0 deviceId: unknown
Graphics card #0 versionInfo: unknown
Virtual memory max (MB): 1700.01
Virtual memory used (MB): 2980.57
Swap memory total (MB): 0.00
Swap memory used (MB): 0.00
JVM Flags: 1 total; -Xmx4G
Fabric Mods:
concerto: Concerto 1.0.0-mc1.20.6
fabric-api: Fabric API 0.98.0+1.20.6
fabric-api-base: Fabric API Base 0.4.40+80f8cf51b0
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.59+e9d2a72bb0
fabric-biome-api-v1: Fabric Biome API (v1) 13.0.25+be5d88beb0
fabric-block-api-v1: Fabric Block API (v1) 1.0.20+6dfe4c9bb0
fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.8+80f8cf51b0
fabric-command-api-v1: Fabric Command API (v1) 1.2.45+f71b366fb0
fabric-command-api-v2: Fabric Command API (v2) 2.2.24+80f8cf51b0
fabric-commands-v0: Fabric Commands (v0) 0.2.62+df3654b3b0
fabric-content-registries-v0: Fabric Content Registries (v0) 8.0.5+b82b2392b0
fabric-convention-tags-v1: Fabric Convention Tags 2.0.4+7f945d5bb0
fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.1.0+70fd1b46b0
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.27+80f8cf51b0
fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.1.16+2a2c66b6b0
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 19.1.0+ad474493b0
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.68+94793913b0
fabric-entity-events-v1: Fabric Entity Events (v1) 1.6.8+e9d2a72bb0
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.7.6+c5fc38b3b0
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.50+80f8cf51b0
fabric-item-api-v1: Fabric Item API (v1) 8.2.0+5bcea88ab0
fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.39+aae0949ab0
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.3.4+c5fc38b3b0
fabric-loot-api-v2: Fabric Loot API (v2) 3.0.5+97f703dab0
fabric-message-api-v1: Fabric Message API (v1) 6.0.10+109a837cb0
fabric-networking-api-v1: Fabric Networking API (v1) 4.0.8+0dca0349b0
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 15.1.4+c5fc38b3b0
fabric-particles-v1: Fabric Particles (v1) 4.0.0+c5fc38b3b0
fabric-recipe-api-v1: Fabric Recipe API (v1) 5.0.3+c5fc38b3b0
fabric-registry-sync-v0: Fabric Registry Sync (v0) 5.0.16+ad474493b0
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.46+73761d2eb0
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.3+2c869dedb0
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 4.1.0+83154f1bb0
fabric-resource-loader-v0: Fabric Resource Loader (v0) 1.1.0+c0e5481fb0
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.73+8c7b71c2b0
fabric-transfer-api-v1: Fabric Transfer API (v1) 5.1.6+c5fc38b3b0
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 6.0.10+74e2f560b0
fabricloader: Fabric Loader 0.15.11
mixinextras: MixinExtras 0.3.5
java: OpenJDK 64-Bit Server VM 21
minecraft: Minecraft 1.20.6
xaerominimap: Xaero's Minimap 24.1.4
xaeroworldmap: Xaero's World Map 1.38.6
Server Running: true
Player Count: 1 / 20; ', x=87.94, y=71.00, z=2007.06]]
Active Data Packs: vanilla, update_1_21, fabric, fabric-convention-tags-v2
Available Data Packs: bundle, fabric, fabric-convention-tags-v2, trade_rebalance, update_1_21, vanilla
Enabled Feature Flags: minecraft:update_1_21, minecraft:vanilla
World Generation: Stable
World Seed: -7009910073892359707
Is Modded: Definitely; Server brand changed to 'fabric'
Type: Dedicated Server (map_server.txt)

RGT9043 发表于 2024-5-31 00:27:05

为什么不升级配置呢
页: [1]
查看完整版本: 解决可能是tp引起的服务器崩溃?