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

The configured user limit (128) on the number of inotify instances has been reached #3

Open
timothyparez opened this issue Apr 27, 2020 · 2 comments

Comments

@timothyparez
Copy link

When the app starts it throws an IOException:

An exception of type 'System.IO.IOException' occurred in System.IO.FileSystem.Watcher.dll but was not handled in user code: 'The configured user limit (128) on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.'

Info:

  • Source: Camelot.FileSystemWatcherWrapper/Implementations/FileSystemWatcherWrapper.cs
  • Line: 29
  • Commit: 3acd8a6
  • OS: Ubuntu 20.04
  • .NET Core Version: 3.1.201
@IngvarX
Copy link
Owner

IngvarX commented Apr 27, 2020

Hello. Seems that inotify limit is low on your machine and it breaks C# FileSystemWatcher. As a temporary workaround you can increase inotify limit as described here. I will think how to solve this and probably will get rid of FileSystemWatcher at all

@timothyparez
Copy link
Author

Yes, might be better since you want this to be usable by end-users.
Nice project by the way. Good showcase of Avalonia and a good alternative to TotalCommander and MuCommander.

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