Page 1 of 1

System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached.

Posted: Thu 15 Feb 2018 03:32
by ChangHyeon Lee
Hi...

The following error occurred because of the code generated using Entity Developer.
"System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached."

Here's the problem code:
private static string GetConnectionString(string connectionStringName)
{
var configurationBuilder = new ConfigurationBuilder().AddJsonFile("appsettings.json", optional: true, reloadOnChange: true);
var configuration = configurationBuilder.Build();
return configuration.GetConnectionString(connectionStringName);
}

The above problem has been posted on StackOverflow.

https://stackoverflow.com/questions/458 ... mit-128-on

The reloadOnChange option should be changeable in ModelSettings.
Otherwise, the reloadOnChange option should default to false.

Regards

Re: System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached.

Posted: Fri 16 Feb 2018 15:18
by Shalex
Thank you for your report. We will notify you when a code generation is changed.

Re: System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached.

Posted: Fri 30 Mar 2018 17:23
by Shalex
The behavior is changed in the new v6.2.468.