Increase workers (1 worker for 8 users)

tags/ipasserelle-groupware-0.2.37-1 0.2.9
Daniel Berteaud 12 years ago
parent 29b9b47a6a
commit 5977a844fa
  1. 2
      root/etc/e-smith/templates/etc/sysconfig/sogo/Prefork

@ -3,7 +3,7 @@
use esmith::AccountsDB; use esmith::AccountsDB;
my $a = esmith::AccountsDB->open_ro || die "Couldn't open AccountsDB\n"; my $a = esmith::AccountsDB->open_ro || die "Couldn't open AccountsDB\n";
my $users = scalar($a->users()); my $users = scalar($a->users());
my $fork = int($users/15); my $fork = int($users/8);
$fork = 3 if ($fork < 3); $fork = 3 if ($fork < 3);
$OUT .= "PREFORK=$fork"; $OUT .= "PREFORK=$fork";

Loading…
Cancel
Save