Skip to content

Commit b49ed42

Browse files
make 128 error more visible /1 (dotnet#28387)
* make 128 error more visible /1 * make 128 error more visible /1 * make 128 error more visible /1 * make 128 error more visible /1 * make 128 error more visible /1
1 parent f47ff18 commit b49ed42

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

aspnetcore/host-and-deploy/docker/building-net-docker-images.md

+1
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ ENTRYPOINT ["dotnet", "aspnetapp.dll"]
344344
* [Working with Visual Studio Docker Tools](./visual-studio-tools-for-docker.md)
345345
* [Debugging with Visual Studio Code](https://code.visualstudio.com/docs/nodejs/debugging-recipes#_debug-nodejs-in-docker-containers)
346346
* [GC using Docker and small containers](xref:performance/memory#sc)
347+
* [System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached](xref:host-and-deploy/docker/index#d128)
347348

348349
## Next steps
349350

aspnetcore/host-and-deploy/docker/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ Additional configuration might be required for apps hosted behind proxy servers
4040

4141
[GC using Docker and small containers](xref:performance/memory#sc)
4242
Discusses GC selection with small containers.
43+
44+
[!INCLUDE[](~/includes/128.md)]

aspnetcore/host-and-deploy/docker/visual-studio-tools-for-docker.md

+1
Original file line numberDiff line numberDiff line change
@@ -237,3 +237,4 @@ There may be an expectation for the production or release image to be smaller in
237237
* [Troubleshoot Visual Studio development with Docker](/azure/vs-azure-tools-docker-troubleshooting-docker-errors)
238238
* [Visual Studio Container Tools GitHub repository](https://github.com/Microsoft/DockerTools)
239239
* [GC using Docker and small containers](xref:performance/memory#sc)
240+
* [System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached](xref:host-and-deploy/docker/index#d128)

aspnetcore/includes/128.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<a name="d128"></a>
2+
3+
## System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached
4+
5+
Disabling `reloadOnChange` can significantly reduce the number of opened files. To disable reloading configuration files, set the environment variable `DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE=false`
6+
7+
For alternative approaches or to leave feedback on this problem, see [this GitHub issue](https://github.com/dotnet/AspNetCore.Docs/issues/19814).

0 commit comments

Comments
 (0)