On Thu, 2010-08-12 at 12:01 -0500, Rex Dieter wrote: > kde packagers received a request to consider shipping systems with a > higher (default) value of > /proc/sys/fs/inotify/max_user_watches > to allow for a better experience for noticing changes (notably when > using nepomuk indexing of content in users' homedir). > > The suggested value was something like 524288 (seems the default on f13 > is 8192). > > A recent kde-sig meeting discussed the topic, > http://fedoraproject.org/wiki/SIGs/KDE/Meetings/2010-07-27 > > where mjg59 also agreed "It's probably justifiable to increase it". > > So, any comments or objections implementing this (for f14)? I'm not opposed to it but this does allow used to allocate and hold kernel memory. The math is roughly 200 bytes per watch. So right now a normal user can only allocate about 200*8192 bytes which is about 1.6M of kernel memory. Not such a bad thing. Your suggestion would allow the user to allocate 200 * 524288 = 105M. On a 64bit system this might not matter, but on a 32bit system this is a substantial amount of the memory the kernel has. And these allocations are not counted against normal userspace limits. I'm not opposed to upping it, especially on x86_64, but maybe not quite that high.... -Eric _______________________________________________ kernel mailing list kernel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/kernel