Bug 190011

Summary: Set the default value of max_user_watches to the max
Product: File System Reporter: Matthias Schuster (shalokshalom)
Component: OtherAssignee: fs_other
Status: NEW ---    
Severity: normal CC: jhasse, nate
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.8.6 Subsystem:
Regression: No Bisected commit-id:

Description Matthias Schuster 2016-12-10 11:42:09 UTC
I kept getting an error on clementine and then it gets stuck on updating the library at 98% , saying 

"inotify_add_watch("/run/media/frost/MUSIC_old/Music/[Wheatus]") failed: "No space left on device""

while there is plenty of space free. My music collection is about 100 000 songs large and to run 

echo 1048576 > /proc/sys/fs/inotify/max_user_watches

fix the issue. 

This report here is connected with one crucial question: 

Is there any downside by setting this value such high?

If not, is my suggestion to increase the default value to the maximum.

Thanks a lot
Comment 1 Jan Niklas Hasse 2017-06-21 12:58:07 UTC
I wouldn't set it to the max, but I think the default value should definitely be increased.

Some more details on the matter: https://unix.stackexchange.com/a/13757/143621