weave-gitops icon indicating copy to clipboard operation
weave-gitops copied to clipboard

Tilt jobs hit ulimit on Mac

Open joshri opened this issue 2 years ago • 4 comments

I was hitting a ulimit error on Mac when working with Tilt to develop the UI (too many open files). Increasing my ulimit to 524288 and restarting my computer got things going again, but maybe this is something that needs to be known for dev setup / an indicator of something else?

joshri avatar May 04 '22 16:05 joshri

Do you know whether it was Tilt claiming all the fds, or something else did and Tilt was just the first to notice?

(Fine if you didn't grab that before rebooting)

Callisto13 avatar May 05 '22 15:05 Callisto13

Do you know whether it was Tilt claiming all the fds, or something else did and Tilt was just the first to notice?

(Fine if you didn't grab that before rebooting)

Absolutely did not grab that before setting my limit to 524288 and rebooting sadly.

joshri avatar May 05 '22 17:05 joshri

Probably an issue with the inotify settings on the "node" which in this case is a docker container:

https://github.com/kubernetes/kubernetes/issues/64315#issuecomment-904103310

jpellizzari avatar May 11 '22 16:05 jpellizzari

Nice find

Callisto13 avatar May 16 '22 09:05 Callisto13

closing as seems stale

sympatheticmoose avatar Nov 04 '22 13:11 sympatheticmoose