diff options
author | Robert Love <rml@novell.com> | 2005-07-25 15:13:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-26 16:37:22 -0400 |
commit | 1b2ccf0cc15af717263c7cfe5d0aaf5ac057489e (patch) | |
tree | aa920bd05c10ad6a0eabfefe06f58c3a472dcae3 | |
parent | 5eb22cbcdb849886c2584389faff5afb56c23876 (diff) |
[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 <rml@novell.com>
Signed-off-by: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | fs/inotify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/inotify.c b/fs/inotify.c index d41c53c8dfd0..6a0ba2c858e6 100644 --- a/fs/inotify.c +++ b/fs/inotify.c | |||
@@ -1028,8 +1028,8 @@ static int __init inotify_setup(void) | |||
1028 | register_filesystem(&inotify_fs_type); | 1028 | register_filesystem(&inotify_fs_type); |
1029 | inotify_mnt = kern_mount(&inotify_fs_type); | 1029 | inotify_mnt = kern_mount(&inotify_fs_type); |
1030 | 1030 | ||
1031 | inotify_max_queued_events = 8192; | 1031 | inotify_max_queued_events = 16384; |
1032 | inotify_max_user_instances = 8; | 1032 | inotify_max_user_instances = 128; |
1033 | inotify_max_user_watches = 8192; | 1033 | inotify_max_user_watches = 8192; |
1034 | 1034 | ||
1035 | atomic_set(&inotify_cookie, 0); | 1035 | atomic_set(&inotify_cookie, 0); |