PaperMC / Paper

The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
Other
9.99k stars 2.32k forks source link

Server crash #272

Closed foxi69 closed 8 years ago

foxi69 commented 8 years ago

The following are 'hard suggestions': if you have the information available to you, you really should put it in the report. Choose one of the following templates from below that best fits the issue you wish to report.

Performance issue

_This section should be used for any report regarding performance issues_

Timings or Profile link:

_We ask that all timings/profiles are a link, not a screenshot. Screenshots inhibit our ability to figure out the real cause of the issue._

https://timings.aikar.co/v2/d=3d477da2db25456184861d88284be6b4

Description of issue:

_If applicable_

http://pastebin.com/RMUJJ90P

Plugin list:

08.05 15:23:44 [Server] INFO Plugins (45): RedstoneClockPreventer, WorldEdit, SimpleTrading, TitleMotd, PlaceholderAPI, AnimatedNames, ChatControl, ActionHealth, ProtocolLib, NoCheatPlus, SkinsRestorer, iDisguise, getID, PermissionsEx, TreeAssist, Tab, Lottery, CustomBot, FAQ, Vault, LightAPI, ShopGUIPlus, Orebfuscator4, Essentials, SexyMotd, BattlePets, Jobs, PlotSquared, Multiverse-Core, Holograms, DeluxeChat, TreasureChest, HeavySpleef, AncientGates, CraftBook, ServerSigns, EssentialsSpawn, GriefPrevention, AuthMe, Paintball, MobArena, ProtectionLib, Regenerator, FurnitureLib, DiceFurniture

bukkit.yml, spigot.yml, paper.yml, server.properties

_Gist/pastebin/hastebin links_

Other helpful links

_The more information we receive, the quicker and more effective we can be at finding the solution to the issue._

This is the main configuration file for Paper.

As you can see, there's tons to configure. Some options may impact gameplay, so use

with caution, and make sure you know what each option does before configuring.

If you need help with the configuration or have any questions related to PaperSpigot,

join us at the IRC.

IRC: #paperspigot @ irc.spi.gt ( http://irc.spi.gt/iris/?channels=PaperSpigot )

Wiki: https://paper.readthedocs.org/

Paper Forums: https://aquifermc.org/

config-version: 9 settings: load-permissions-yml-before-plugins: false limit-player-interactions: true sleep-between-chunk-saves: false region-file-cache-size: 256 enable-player-collisions: false timings: enabled: true verbose: true server-name-privacy: true hidden-config-entries:

This is the main configuration file for Spigot.

As you can see, there's tons to configure. Some options may impact gameplay, so use

with caution, and make sure you know what each option does before configuring.

For a reference for any variable inside this file, check out the Spigot wiki at

http://www.spigotmc.org/wiki/spigot-configuration/

If you need help with the configuration or have any questions related to Spigot,

join us at the IRC or drop by our forums and leave a post.

IRC: #spigot @ irc.spi.gt ( http://www.spigotmc.org/pages/irc/ )

Forums: http://www.spigotmc.org/

config-version: 8 settings: player-shuffle: 0 filter-creative-items: true user-cache-size: 1000 int-cache-limit: 1024 moved-wrongly-threshold: 0.0625 moved-too-quickly-multiplier: 10.0 timeout-time: 60 restart-on-crash: true restart-script: ./start.sh netty-threads: 4 attribute: maxHealth: max: 2500.0 movementSpeed: max: 2048.0 attackDamage: max: 2048.0 bungeecord: false late-bind: false sample-count: 12 save-user-cache-on-stop-only: false debug: false moved-too-quickly-threshold: 100.0 commands: spam-exclusions:

Minecraft server properties

Sun May 08 15:07:56 CEST 2016

spawn-protection=0 server-name=OperationCraft generator-settings= force-gamemode=false allow-nether=false gamemode=0 broadcast-console-to-ops=false enable-query=false player-idle-timeout=0 difficulty=1 spawn-monsters=true op-permission-level=4 announce-player-achievements=false pvp=true snooper-enabled=false level-type=DEFAULT hardcore=false enable-command-block=true max-players=200 network-compression-threshold=512 resource-pack-sha1= max-world-size=29999984 server-port=25566 debug=false server-ip=79.172.205.214 spawn-npcs=true allow-flight=false level-name=world view-distance=8 resource-pack= spawn-animals=true white-list=false generate-structures=true online-mode=false max-build-height=256 level-seed= use-native-transport=true enable-rcon=false motd=OperationCraft

Paper build number:

_This can be found by running /version on your server. latest is not a proper version number; we require the output of /version so we can properly track down the issue._

724

foxi69 commented 8 years ago

what I configured wrong?

zachbr commented 8 years ago

Your server stopped responding, and was killed, because of regex lookups by Regenerator.

StargateMC commented 8 years ago

Hi @Zbob750 - Regenerator doesn't perform any regex lookups at all.

Regards Bysokar

Spottedleaf commented 8 years ago

@Zbob750 It is actually snakeyml, not the plugin directly.

@DraksterAU The issue will most likely remain closed. An external plugin caused this crash, because it was most likely loading a large config from disk.

Tell the author to not perform I/O on the main thread.

StargateMC commented 8 years ago

I am the author. So to fix this (which only happens on slow servers), I should be loading config async, which I am....?

NachtRaben commented 8 years ago

Not necessarily Async, but using the runTaskAsynchronously in the scheduler would be more than adequate.

StargateMC commented 8 years ago

That's exactly what I'm doing.

StargateMC commented 8 years ago

@foxi69 please zip your regenerator directory up and send to me. I'll debug.

Thanks all.

Spottedleaf commented 8 years ago

@DraksterAU

As shown by the stack trace, you are loading a config here: com.draksterau.Regenerator.listeners.eventListener.onChunkUnload(eventListener.java:67)

This is not the place to discuss this. Take this report to a place where you can manage it.

zachbr commented 8 years ago

As far as PaperMC is concerned, this is an issue with Regenerator and should be moved to their preferred channel for discussion and resolution.

Thanks.