Hi there, I'm getting this error all of a sudden w...
# ask-community
m
Hi there, I'm getting this error all of a sudden when running
dagit
locally and then clicking "Launch Run":
Copy code
Operation name: PipelineRunLogsSubscription

Message: [Errno 28] inotify watch limit reached

Path: 

Locations:
See screenshot which says to submit a Github issue or post on Slack - I have not had this before and it just suddenly started happening:
🤖 1
a
do you have any other tools running that watch the file system for changes?
m
I ran
dagit
from a terminal within my VSCode session, so could that be it as VScode watches for file changes?
a
I believe this is a system wide limit, so any other process consuming
inotify
resources could cause dagit to hit the limit
m
Ok thank you. I just found this reply too: https://dagster.slack.com/archives/C01U954MEER/p1655311792704719?thread_ts=1655133080.938089&cid=C01U954MEER And tried disabling the websockets and I can run the pipeline now. Not sure if this is a long term solution though? Looks like I need to increase the limits - just not sure why it has suddenly been reached as VSCode terminal and Dagster are the only processes I'm running on this virtual machine.
a
VSCode terminal and Dagster are the only processes I’m running on this virtual machine
Ok interesting, thats a useful piece of context. A little googling suggests that this resource limiting happens at the host machine layer, so other containers may be the cause.
And tried disabling the websockets and I can run the pipeline now. Not sure if this is a long term solution though?
it should be a reasonable workaround for the forseeable future
m
Great, thanks for your help.