IngvarX/Camelot

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

timothyparez opened this issue · 2 comments

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

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

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.