https://bz.apache.org/bugzilla/show_bug.cgi?id=53999

--- Comment #9 from David Martínez Martí <deavidsed...@gmail.com> ---
Thomas, we were getting the same problem, and your comment helped a lot.

"Mutex sem" seems the solution.

Did two tests in siege using this command:
siege -f /tmp/urls.sort1.awk.txt -i -d0 -c20 -v | grep -vE "200   [01]"

I did only a change between first and second test: /etc/apache2/apache2.conf
# Mutex file:${APACHE_LOCK_DIR} default   # Original config (1st Test)
Mutex sem  # (Config 2nd test)


In the first siege test:
Transactions:                  32958 hits
Availability:                  99.43 %
Elapsed time:                 115.76 secs
Data transferred:              14.80 MB
Response time:                  0.07 secs
Transaction rate:             284.71 trans/sec
Throughput:                     0.13 MB/sec
Concurrency:                   19.42
Successful transactions:       32960
Failed transactions:             189
Longest transaction:            8.96
Shortest transaction:           0.00

In 115 seconds I had to stop because I got 115 PHP orphaned processes.

In the second siege test:
Transactions:                  99533 hits
Availability:                  99.98 %
Elapsed time:                 292.05 secs
Data transferred:              44.50 MB
Response time:                  0.05 secs
Transaction rate:             340.81 trans/sec
Throughput:                     0.15 MB/sec
Concurrency:                   17.80
Successful transactions:       99533
Failed transactions:              21
Longest transaction:           29.04
Shortest transaction:           0.00

After 5 minutes and 0 zombies and 0 orphaned processes.

As you can see it is slightly faster than the prior configuration. And 0.02%
failure, which is 10x times less than before.

I'm using Debian Jessie, kernel 4.4.4-xxxx-grs-ipv6-64 #7 SMP x86_64 GNU/Linux

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to