Project

General

Profile

Bug #87

Minecraft Docker Inotify limit

Added by Steffen WouldYouLikeToKnow about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
01/21/2022
Due date:
% Done:

0%

Estimated time:

Description

The server of newer versions of minecraft runs into an issue with the inotify instance limit it has inside of docker.

Exception in thread "main" java.lang.RuntimeException: java.io.IOException: User limit of inotify instances reached or too many open files
at MC-BOOTSTRAP/com.electronwill.nightconfig.core@3.6.4/com.electronwill.nightconfig.core.file.FileWatcher$WatchedDir.(FileWatcher.java:220)
at MC-BOOTSTRAP/com.electronwill.nightconfig.core@3.6.4/com.electronwill.nightconfig.core.file.FileWatcher$WatchedDir.(FileWatcher.java:210)
at MC-BOOTSTRAP/com.electronwill.nightconfig.core@3.6.4/com.electronwill.nightconfig.core.file.FileWatcher.lambda$addWatch$0(FileWatcher.java:81)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
at MC-BOOTSTRAP/com.electronwill.nightconfig.core@3.6.4/com.electronwill.nightconfig.core.file.FileWatcher.addWatch(FileWatcher.java:81)
at MC-BOOTSTRAP/com.electronwill.nightconfig.core@3.6.4/com.electronwill.nightconfig.core.file.FileWatcher.addWatch(FileWatcher.java:69)
at MC-BOOTSTRAP/com.electronwill.nightconfig.core@3.6.4/com.electronwill.nightconfig.core.file.AutoreloadFileConfig.(AutoreloadFileConfig.java:18)
at MC-BOOTSTRAP/com.electronwill.nightconfig.core@3.6.4/com.electronwill.nightconfig.core.file.GenericBuilder.build(GenericBuilder.java:242)
at MC-BOOTSTRAP/fmlloader@1.18.1-39.0.45/net.minecraftforge.fml.loading.FMLConfig.loadFrom(FMLConfig.java:56)
at MC-BOOTSTRAP/fmlloader@1.18.1-39.0.45/net.minecraftforge.fml.loading.FMLConfig.load(FMLConfig.java:76)
at MC-BOOTSTRAP/fmlloader@1.18.1-39.0.45/net.minecraftforge.fml.loading.FMLServiceProvider.initialize(FMLServiceProvider.java:79)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.TransformationServiceDecorator.onInitialize(TransformationServiceDecorator.java:68)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.TransformationServicesHandler.lambda$initialiseTransformationServices$7(TransformationServicesHandler.java:92)
at java.base/java.util.HashMap$Values.forEach(HashMap.java:1065)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.TransformationServicesHandler.initialiseTransformationServices(TransformationServicesHandler.java:92)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:51)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.Launcher.run(Launcher.java:87)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
at cpw.mods.bootstraplauncher@1.0.0/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149)
Caused by: java.io.IOException: User limit of inotify instances reached or too many open files
at java.base/sun.nio.fs.LinuxWatchService.(LinuxWatchService.java:62)
at java.base/sun.nio.fs.LinuxFileSystem.newWatchService(LinuxFileSystem.java:47)
at MC-BOOTSTRAP/com.electronwill.nightconfig.core@3.6.4/com.electronwill.nightconfig.core.file.FileWatcher$WatchedDir.(FileWatcher.java:218)
... 20 more

#1

Updated by Steffen WouldYouLikeToKnow about 2 years ago

  • Status changed from New to Closed

Also available in: Atom PDF