SHA256
1
0
forked from pool/apache2

- server-tunning.conf: MaxClients was renamed to MaxRequestWorkers

[bsc#1037731]
- gensslcert: use hostname when fqdn is too long [bsc#1035829]

OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=510
This commit is contained in:
2017-06-02 07:45:40 +00:00
committed by Git OBS Bridge
parent 30b44e65be
commit fdc17b9ba7
3 changed files with 21 additions and 9 deletions

View File

@@ -18,12 +18,12 @@
# maximum number of server processes which are kept spare
# http://httpd.apache.org/docs/2.4/mod/prefork.html#maxspareservers
MaxSpareServers 10
# highest possible MaxClients setting for the lifetime of the Apache process.
# highest possible MaxRequestWorkers setting for the lifetime of the Apache process.
# http://httpd.apache.org/docs/2.4/mod/mpm_common.html#serverlimit
ServerLimit 150
# maximum number of server processes allowed to start
# http://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxclients
MaxClients 150
# maximum number of server processes allowed to start (formerly MaxClients)
# http://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers
MaxRequestWorkers 150
# maximum number of requests a server process serves
# http://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestsperchild
MaxRequestsPerChild 10000
@@ -43,9 +43,9 @@
# upper limit on the configurable number of threads per child process
# http://httpd.apache.org/docs/2.4/mod/mpm_common.html#threadlimit
ThreadLimit 64
# maximum number of simultaneous client connections
# http://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxclients
MaxClients 150
# maximum number of simultaneous client connections (formerly MaxClients)
# http://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers
MaxRequestWorkers 150
# number of worker threads created by each child process
# http://httpd.apache.org/docs/2.4/mod/mpm_common.html#threadsperchild
ThreadsPerChild 25
@@ -62,8 +62,8 @@
MinSpareThreads 25
# maximum number of worker threads which are kept spare
MaxSpareThreads 75
# maximum number of simultaneous client connections
MaxClients 150
# maximum number of simultaneous client connections (formerly MaxClients)
MaxRequestWorkers 150
# constant number of worker threads in each server process
ThreadsPerChild 25
# maximum number of requests a server process serves

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jun 2 07:36:43 UTC 2017 - pgajdos@suse.com
- server-tunning.conf: MaxClients was renamed to MaxRequestWorkers
[bsc#1037731]
- gensslcert: use hostname when fqdn is too long [bsc#1035829]
-------------------------------------------------------------------
Fri May 19 09:01:33 UTC 2017 - pgajdos@suse.com

View File

@@ -42,6 +42,11 @@ r=$ROOT
. $r/etc/sysconfig/network/config
FQHOSTNAME=`hostname -f`
fqlength=`echo $FQHOSTNAME|wc -c`
if [ $fqlength -gt 63 ]; then
FQHOSTNAME=`hostname`
fi
# defaults
comment="mod_ssl server certificate"
name=