Hi! I tried to increase the number of allowed file system watchers inside a toolbox container with the following command:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
I’m getting these errors:
sudo: setrlimit(RLIMIT_CORE): Operation not permitted
fs.inotify.max_user_watches=524288
sudo: setrlimit(RLIMIT_CORE): Operation not permitted
sysctl: permission denied on key 'fs.inotify.max_user_watches'
sysctl: permission denied on key 'fs.inotify.max_user_watches'
sysctl: permission denied on key 'fs.inotify.max_user_watches'
Is there any way I can do this?