Hello,
Am 22.01.2018 um 11:54 schrieb Hajo
Locke:
Hello,
Am 19.01.2018 um 15:48 schrieb Luca
Toscano:
Hi Hajo,
I changed my setup to use tcp-sockets in php-fpm and proxy-fcgi.
Currently i see the same behaviour.
If "enablereuse=off" is set i see a lot of running
php-workerprocesses (120-130) and high load. Behaviour is like
expected.
When set "enablereuse=on" i can see a big change. number of
running php-workers is really low (~40). The test is running some
time and then it stucks.
I can see that php-fpm processes are still active and waiting for
connections, but proxy_fcgi is not using them nor it is
establishing new connections. loadavg is low and benchmarktest is
not able to finalize.
I did some further tests to solve this issue. I set ttl=1 for this
Proxy and achieved good performance and high number of working
childs. But this is paradoxical.
proxy_fcgi knows about inactive connection to kill it, but not
reenable this connection for working.
May be this is helpful to others.
May be a
kind of communicationproblem and checking health/busy status of
php-processes.
Whole proxy configuration is this:
<Proxy "unix:/dev/shm/php70fpm.sock|fcgi://php70fpm">
ProxySet enablereuse=off flushpackets=On timeout=3600
max=15000
</Proxy>
<FilesMatch \.php$|\.php70$>
SetHandler "proxy:fcgi://php70fpm"
</FilesMatch>
Alltogether i have collected interesting results. this should be
remarkable for Stefan, because some results are not as expected. I
will show this results in separate mail, to not mix up with this
proxy problem.
Thanks,
Hajo
|