Код: Выделить всё
System.IO.IOException: The configured user limit (512) on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.
at System.IO.FileSystemWatcher.StartRaisingEvents()
Я попытался установить для reloadInChange значение false в методе AddJosnFile. Я добавил
ENV DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE=false
в свой файл Docker. Я даже пробовал программно установить его во время выполнения с помощью:
Код: Выделить всё
Environment.SetEnvironmentVariable("DOTNET_hostBuilder:reloadConfigOnChange", "false");
https://github.com/dotnet/AspNetCore.Docs/issues/19814
Есть ли есть ли другие возможные решения, не упомянутые в приведенной выше проблеме?
Подробнее здесь: https://stackoverflow.com/questions/787 ... docker-k8s