From 5977a844fa701f5ed99d6c92084fe6b6d5a89c20 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 13 Jun 2013 12:29:38 +0200 Subject: [PATCH] Increase workers (1 worker for 8 users) --- root/etc/e-smith/templates/etc/sysconfig/sogo/Prefork | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/sysconfig/sogo/Prefork b/root/etc/e-smith/templates/etc/sysconfig/sogo/Prefork index a510fb2..a174678 100644 --- a/root/etc/e-smith/templates/etc/sysconfig/sogo/Prefork +++ b/root/etc/e-smith/templates/etc/sysconfig/sogo/Prefork @@ -3,7 +3,7 @@ use esmith::AccountsDB; my $a = esmith::AccountsDB->open_ro || die "Couldn't open AccountsDB\n"; my $users = scalar($a->users()); -my $fork = int($users/15); +my $fork = int($users/8); $fork = 3 if ($fork < 3); $OUT .= "PREFORK=$fork";