On 2016-04-14 20:36, Yann Ylavic wrote:
> On Thu, Apr 14, 2016 at 7:10 PM, olli hauer <[email protected]> wrote:
>> I got this morning a request from a FreeBSD user to back-port r1739008, and 
>> also already the feedback that scoreboard is usable again with the patch.
>> 
>> Since I cannot find a reference in branches/2.4.x/STATUS for r1739008 I told 
>> the user I will ask additional upstream devs if they think it is OK to 
>> include the patch until a new httpd release will be shipped.
> 
> r1739008+r1739146+r1739151 proposed for backport (full patch is [1]). Let's 
> wait for votes...
> 
> Regards, Yann.
> 
> [1] 
> http://home.apache.org/~ylavic/patches/httpd-2.4.x-scoreboard_preserve.patch
> 

Hi Yann,

thanks for the link!

I've done a quick test with
 $ ab -n 10000 -c 100 $host/$url

During the test the count of idle worker are incrementing and decrementing but 
it ab has finished the requests the count of idle workers stays on the last 
highest count ...


httpd some seconds after start:
---------------------------------------------
Server Version: Apache/2.4.20 (FreeBSD) OpenSSL/1.0.2g SVN/1.8.15 
mod_wsgi/4.4.22 Python/2.7.11
Server MPM: event
Server Built: Apr 14 2016 21:09:43

Current Time: Thursday, 14-Apr-2016 21:22:13 CEST
Restart Time: Thursday, 14-Apr-2016 21:22:09 CEST
Parent Server Config. Generation: 1
Parent Server MPM Generation: 0
Server uptime: 4 seconds
Server load: 0.29 1.36 1.11
Total accesses: 0 - Total Traffic: 0 kB
CPU Usage: u0 s0 cu0 cs0
0 requests/sec - 0 B/second -
1 requests currently being processed, 74 idle workers

PID     Connections     Threads Async connections
total   accepting       busy    idle    writing keep-alive      closing
31501   0       yes     0       25      0       0       0
31502   0       yes     1       24      0       0       0
31503   0       yes     0       25      0       0       0
Sum     0               1       74      0       0       0


after some manual requests:
---------------------------------------------
Current Time: Thursday, 14-Apr-2016 21:22:48 CEST
Restart Time: Thursday, 14-Apr-2016 21:22:09 CEST
Parent Server Config. Generation: 1
Parent Server MPM Generation: 0
Server uptime: 39 seconds
Server load: 0.28 1.24 1.08
Total accesses: 5 - Total Traffic: 18 kB
CPU Usage: u.0234375 s0 cu0 cs0 - .0601% CPU load
.128 requests/sec - 472 B/second - 3686 B/request
1 requests currently being processed, 99 idle workers

PID     Connections     Threads Async connections
total   accepting       busy    idle    writing keep-alive      closing
31501   0       yes     0       25      0       0       0
31502   1       yes     1       24      0       0       0
31503   0       yes     0       25      0       0       0
31505   0       yes     0       25      0       0       0
Sum     1               1       99      0       0       0


give some load with ab -n 10000 -c 100
---------------------------------------------
Current Time: Thursday, 14-Apr-2016 21:23:29 CEST
Restart Time: Thursday, 14-Apr-2016 21:22:09 CEST
Parent Server Config. Generation: 1
Parent Server MPM Generation: 0
Server uptime: 1 minute 20 seconds
Server load: 1.49 1.38 1.13
Total accesses: 3315 - Total Traffic: 923 kB
CPU Usage: u36.7969 s.570313 cu0 cs0 - 46.7% CPU load
41.4 requests/sec - 11.5 kB/second - 285 B/request
86 requests currently being processed, 89 idle workers

PID     Connections     Threads Async connections
total   accepting       busy    idle    writing keep-alive      closing
31501   3       yes     1       24      0       0       0
31502   2       yes     0       25      0       0       1
31503   25      yes     25      0       0       0       1
31505   25      yes     21      4       0       0       1
31579   2       yes     23      2       0       0       0
31580   3       yes     14      11      0       0       0
31581   3       yes     2       23      0       0       1
Sum     63              86      89      0       0       4


During the test the idle workers are going up and down but stay on the highest 
value after the test is finished.


ab requests finished, wait some time ...
------------------------------------------------------
Current Time: Thursday, 14-Apr-2016 21:29:12 CEST
Restart Time: Thursday, 14-Apr-2016 21:22:09 CEST
Parent Server Config. Generation: 1
Parent Server MPM Generation: 0
Server uptime: 7 minutes 3 seconds
Server load: 0.20 0.71 0.92
Total accesses: 10024 - Total Traffic: 2.9 MB
CPU Usage: u109.984 s1.4375 cu0 cs0 - 26.3% CPU load
23.7 requests/sec - 7.0 kB/second - 302 B/request
1 requests currently being processed, 174 idle workers

PID     Connections     Threads Async connections
total   accepting       busy    idle    writing keep-alive      closing
31501   0       yes     0       25      0       0       0
31502   0       yes     0       25      0       0       0
31503   0       yes     0       25      0       0       0
31505   0       yes     0       25      0       0       0
31579   0       yes     0       25      0       0       0
31580   0       yes     0       25      0       0       0
31581   1       yes     1       24      0       1       0
Sum     1               1       174     0       1       0


running ab again (snapshot during the requests)
------------------------------------------------------
Restart Time: Thursday, 14-Apr-2016 21:22:09 CEST
Parent Server Config. Generation: 1
Parent Server MPM Generation: 0
Server uptime: 8 minutes 34 seconds
Server load: 4.30 1.53 1.19
Total accesses: 16090 - Total Traffic: 4.4 MB
CPU Usage: u176.695 s2.39063 cu0 cs0 - 34.8% CPU load
31.3 requests/sec - 8.7 kB/second - 284 B/request
98 requests currently being processed, 77 idle workers

PID     Connections     Threads Async connections
total   accepting       busy    idle    writing keep-alive      closing
31501   0       yes     9       16      0       0       0
31502   2       yes     13      12      0       0       1
31503   13      yes     13      12      0       0       0
31505   13      yes     20      5       0       1       0
31579   0       yes     25      0       0       0       0
31580   3       yes     3       22      0       0       0
31581   6       yes     15      10      0       0       0
Sum     37              98      77      0       1       1


ab finished, wait some time ...
------------------------------------------------------

Current Time: Thursday, 14-Apr-2016 21:32:31 CEST
Restart Time: Thursday, 14-Apr-2016 21:22:09 CEST
Parent Server Config. Generation: 1
Parent Server MPM Generation: 0
Server uptime: 10 minutes 21 seconds
Server load: 1.31 1.46 1.21
Total accesses: 20033 - Total Traffic: 5.4 MB
CPU Usage: u219.664 s3.0625 cu0 cs0 - 35.9% CPU load
32.3 requests/sec - 8.9 kB/second - 282 B/request
1 requests currently being processed, 174 idle workers

PID     Connections     Threads Async connections
total   accepting       busy    idle    writing keep-alive      closing
31501   0       yes     0       25      0       0       0
31502   0       yes     0       25      0       0       0
31503   0       yes     0       25      0       0       0
31505   0       yes     1       24      0       0       0
31579   0       yes     0       25      0       0       0
31580   0       yes     0       25      0       0       0
31581   0       yes     0       25      0       0       0
Sum     0               1       174     0       0       0

Reply via email to