Я настроил NGINX с FASTCGI на Windows Server 2012
мой файл nginx.conf https://pastebin.com/bBVCyGng мой файл www.conf https://pastebin.com/DgxHceYj
статус / результат nginx Активенсоединения: 996 сервер принимает обработанные запросы 6264 6264 18947 Чтение: 0 Запись: 539 Ожидание: 372
Результат теста Apache
ab -k -n20000 -c1000 https://my.site/
Server Software: nginx/1.15.10
Server Hostname: xxxxxx
Server Port: 443
SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,2048,256
TLS Server Name: xxx
Document Path: /
Document Length: 0 bytes
Concurrency Level: 1000
Time taken for tests: 120.627 seconds
Complete requests: 20000
Failed requests: 18390
(Connect: 0, Receive: 0, Length: 15594, Exceptions: 2796)
Non-2xx responses: 15594
Keep-Alive requests: 15594
Total transferred: 8892606 bytes
HTML transferred: 5411118 bytes
Requests per second: 165.80 [#/sec] (mean)
Time per request: 6031.342 [ms] (mean)
Time per request: 6.031 [ms] (mean, across all concurrent requests)
Transfer rate: 71.99 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1564 7031.4 0 45293
Processing: 234 4086 12225.4 410 72947
Waiting: 0 4034 12241.4 401 72947
Total: 234 5650 18301.9 414 106891
Percentage of the requests served within a certain time (ms)
50% 414
66% 537
75% 662
80% 809
90% 1880
95% 51471
98% 79265
99% 102255
100% 106891 (longest request)
Журнал ошибок nginx.
2019/04/02 08:48:00 [error] 7804#6220: *33286 upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while connecting to upstream, client: xx.xx.xx.xx, server: _server, request: "POST /xyz.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9124", host: "mysite.com"
2019/04/02 08:41:17 [error] 7804#6220: *14592 no live upstreams while connecting to upstream, client: xx.xx.xx.xx, server: _server, request: "POST /xyz.php HTTP/1.1", upstream: "fastcgi://php_farm", host: "mysite.com"
мой сервер имеет 8 ГБ ОЗУ и 4-х ядерный процессор, но эта система не может ответить и вернуть мне ошибку. Может кто-нибудь помочь мне, как решить эту проблему?