Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.12.2] Linux crash running FTBI, fails to register FileSystemWatcher #3

Open
Delfayne opened this issue Aug 22, 2024 · 3 comments
Open

Comments

@Delfayne
Copy link

Crashlog: https://mclo.gs/tezeo4D

Fails with a generic NullPointerException, helpful. Running a slim pack with CC in a debugger grants the following info.

It fails in FileSystemWatcher where it tries to register a new file system watcher here:
tmp = FileSystems.getDefault().newWatchService();
With this debug pointer I can see the message java.io.IOException: User limit of inotify instances reached or too many open files

The specific crash reason is something I can fix up my side. However, it would be good if CC could fail more gracefully and surface this error message more easily.

@Speiger
Copy link
Contributor

Speiger commented Aug 22, 2024

O.o how the fluff did we reach the Filesystem watching limit? O.o

That is interesting.
Yeah I am not at home so can't fix it today.
But it's a thing I will fix on Monday the moment I am awake!

Ty for the report

@Delfayne
Copy link
Author

I don't know why/how we reached it, but I think running apps like Intellij Idea in the background take up a large number. It's easy enough to raise the limit, but I had to dig into source code to see what the error message was

@Speiger Speiger transferred this issue from Carbon-Config-Project/CarbonConfig Aug 23, 2024
@Speiger
Copy link
Contributor

Speiger commented Aug 23, 2024

@Delfayne moved the issue to CarbonConfigLib because it is an problem with the library but not the mod :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants