httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53999] Deadlock between procmgr_send_spawn_cmd()/proctable_lock() in mod_fcgid and listener_thread() in worker_mpm
Date Fri, 02 Sep 2016 06:49:42 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=53999

--- Comment #9 from David Martínez Martí <deavidsedice@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-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message