How to navaigate around inotify limits #19409
-
I am running my builds on Jenkins CI. I am often running into errors like:
I see that we can increase inotify limits as recommended here, https://www.pantsbuild.org/docs/troubleshooting#no-space-left-on-device-error-while-watching-files however since i am running CI on k8, inotify limits cannot be changed in container, rather they have to be done on host. And it is not possible to do this changes on host so is there any workaround ? In CI, do we really need to monitor files because they are not going to change anyways? Can i disable them with some config ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes, you can disable file watching with https://www.pantsbuild.org/docs/reference-global#watch_filesystem |
Beta Was this translation helpful? Give feedback.
-
Is it possible to disable file watching while keeping pantsd enabled? |
Beta Was this translation helpful? Give feedback.
Yes, you can disable file watching with https://www.pantsbuild.org/docs/reference-global#watch_filesystem