>From 75d6d0390275db53a7ac59fbcc7b7a74b849ec06 Mon Sep 17 00:00:00 2001 From: Bron Gondwana Date: Sat, 24 Jan 2009 15:08:40 +1100 Subject: [PATCH] epoll: increase default max_user_instances to 1024 Both postfix and apache use an epoll instance per child, which leads to significant scalability issues with max_user_instances set so low. Bump the default to 1024 so medium sized sites are not impacted. --- fs/eventpoll.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/eventpoll.c b/fs/eventpoll.c index ba2f9ec..16eb817 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c @@ -1366,7 +1366,7 @@ static int __init eventpoll_init(void) struct sysinfo si; si_meminfo(&si); - max_user_instances = 128; + max_user_instances = 1024; max_user_watches = (((si.totalram - si.totalhigh) / 32) << PAGE_SHIFT) / EP_ITEM_COST; -- 1.5.6.3