Commit 6b7a76a
committed
Fix phpGH-18956: PHP-FPM Process Count Inconsistencies
This fixes incorrect decrement of the active number of processes. This
was done in accepting stage before incrementing which is problematic if
there are already some running processes as it decrements their number
first and result in incorrect total (lower than the actual number).
In addition it also fixes phpGH-14212 as accept is done just once for
keepalive connection so in this case the number of active connection
just increasing with each request.
Closes phpGH-191911 parent 3128693 commit 6b7a76a
3 files changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1973 | 1973 | | |
1974 | 1974 | | |
1975 | 1975 | | |
| 1976 | + | |
| 1977 | + | |
1976 | 1978 | | |
1977 | 1979 | | |
1978 | 1980 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
223 | 229 | | |
224 | 230 | | |
225 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments