https://bugs.contribs.org/show_bug.cgi?id=11171

--- Comment #4 from Jean-Philippe Pialasse <[email protected]> ---
(In reply to John Crisp from comment #1)
> New keys for wiki page.
> 
> $nextcloud{'PHPmaxChildren'} || 20;
> $nextcloud{'PHPminServers'} || 4;
> $nextcloud{'PHPstartServers'} || 6;
> $nextcloud{'PHPmaxServers'} || 8;
> $nextcloud{'PHPmaxRequests'} || 1000;
> 
> Must makie sure that
> 
> min Servers <= max Servers
> and
> start Servers >=min Server and <=max Servers
> 
> eg
> 
> Min 4 Start 6 Max 8
> 
> I'll push that later as it seems to cure the issue.

then do

+    my $max_children = $nextcloud{'PHPmaxChildren'} || 20;
+    my $min_spare_servers = $nextcloud{'PHPminServers'} || 4;
+    my $start_servers = $nextcloud{'PHPstartServers'} || 6;
+    my $max_spare_servers = $nextcloud{'PHPmaxServers'} || 8;
+    my $max_requests = $nextcloud{'PHPmaxRequests'} || 1000;
$min_spare_servers = ( $min_spare_servers > $max_spare_servers ) ?
printf("%.0f",$max_spare_servers/2) : $min_spare_servers;
$start_servers = ( $start_servers > $max_spare_servers ) ? printf("%.0f",
$max_spare_servers /2 +  $min_spare_servers/2  ) : $start_servers;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to