From: Robert Love Date: Mon, 25 Jul 2005 19:13:43 +0000 (-0400) Subject: [PATCH] inotify: change default limits X-Git-Tag: v2.6.13-rc4~70 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1b2ccf0cc15af717263c7cfe5d0aaf5ac057489e;p=linux-2.6-omap-h63xx.git [PATCH] inotify: change default limits Change default inotify limits: Maximum instances per user to 128 and maximum events per queue to 16k. The max instances used to be 128; the change to 8 was a mistake. Memory consumption is fine. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds --- diff --git a/fs/inotify.c b/fs/inotify.c index d41c53c8dfd..6a0ba2c858e 100644 --- a/fs/inotify.c +++ b/fs/inotify.c @@ -1028,8 +1028,8 @@ static int __init inotify_setup(void) register_filesystem(&inotify_fs_type); inotify_mnt = kern_mount(&inotify_fs_type); - inotify_max_queued_events = 8192; - inotify_max_user_instances = 8; + inotify_max_queued_events = 16384; + inotify_max_user_instances = 128; inotify_max_user_watches = 8192; atomic_set(&inotify_cookie, 0);