Bug 190011 - Set the default value of max_user_watches to the max
Summary: Set the default value of max_user_watches to the max
Status: NEW
Alias: None
Product: File System
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: fs_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-10 11:42 UTC by Matthias Schuster
Modified: 2018-03-21 19:11 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.8.6
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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

Note You need to log in before you can comment on or make changes to this bug.