我看到 如下的 nginx 日誌 . 求解這個是什麼問題 .... ?

來源:互聯網
上載者:User
我看到 如下的 nginx 日誌 . 求解這個是什麼問題 .... ?

重啟下 php-fpm 就又能訪問了 . 但一會就又出現頁面空白問題 .

2015/06/30 11:25:22 [error] 29571#0: *8857 FastCGI sent in stderr: "PHP message: PHP Fatal error: Too many concurrent users, try again in 4 seconds. in Unknown on line 0" while reading response header from upstream, client: 183.57.152.32, server: a.apple.com, request: "GET /index.php/admin/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host:"a.apple.com"

我看到這個 php-fpm.conf 配置是這樣的 ...
是不是少了什麼東西 ...

1 [global]
2 pid = /usr/local/php/var/run/php-fpm.pid
3 error_log = /usr/local/php/var/log/php-fpm.log
4 log_level = notice
5
6 [www]
7 listen = /tmp/php-cgi.sock
8 listen.backlog = -1
9 listen.allowed_clients = 127.0.0.1
10 listen.owner = www
11 listen.group = www
12 listen.mode = 0666
13 user = www
14 group = www
15 pm = dynamic
16 pm.max_children = 10
17 pm.start_servers = 2
18 pm.min_spare_servers = 1
19 pm.max_spare_servers = 6
20 request_terminate_timeout = 100
21 request_slowlog_timeout = 0
22 slowlog = var/log/slow.log

回複內容:

我看到 如下的 nginx 日誌 . 求解這個是什麼問題 .... ?

重啟下 php-fpm 就又能訪問了 . 但一會就又出現頁面空白問題 .

2015/06/30 11:25:22 [error] 29571#0: *8857 FastCGI sent in stderr: "PHP message: PHP Fatal error: Too many concurrent users, try again in 4 seconds. in Unknown on line 0" while reading response header from upstream, client: 183.57.152.32, server: a.apple.com, request: "GET /index.php/admin/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host:"a.apple.com"

我看到這個 php-fpm.conf 配置是這樣的 ...
是不是少了什麼東西 ...

1 [global]
2 pid = /usr/local/php/var/run/php-fpm.pid
3 error_log = /usr/local/php/var/log/php-fpm.log
4 log_level = notice
5
6 [www]
7 listen = /tmp/php-cgi.sock
8 listen.backlog = -1
9 listen.allowed_clients = 127.0.0.1
10 listen.owner = www
11 listen.group = www
12 listen.mode = 0666
13 user = www
14 group = www
15 pm = dynamic
16 pm.max_children = 10
17 pm.start_servers = 2
18 pm.min_spare_servers = 1
19 pm.max_spare_servers = 6
20 request_terminate_timeout = 100
21 request_slowlog_timeout = 0
22 slowlog = var/log/slow.log

concurrent user 太多並發量了

這個問題找到解決辦法了嗎?

  • 相關文章

    聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.