System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached.
Posted: Thu 15 Feb 2018 03:32
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
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