I see the following nginx log. solve this problem ....?

Source: Internet
Author: User
I see the following nginx log. solve this problem ....? Restart php-fpm and you will be able to access it again. however, the page will be blank again later. 2015063011: 25: 22 [error] 29571 #0: * 8857 FastCGIsentinstderr: & quot; PHPmessage: PHP... I see the following nginx log. what is this problem ....?

Restart php-fpm and you will be able to access it again.

11:25:22 [error] 29571 #0: * 8857 FastCGI sent in stderr: "PHP message: PHP Fatal error: Too 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"

I see this php-fpm.conf configuration is like this...
Something missing...

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

Reply content:

I see the following nginx log. solve this problem ....?

Restart php-fpm and you will be able to access it again.

11:25:22 [error] 29571 #0: * 8857 FastCGI sent in stderr: "PHP message: PHP Fatal error: Too 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"

I see this php-fpm.conf configuration is like this...
Something missing...

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 is too concurrent

Have you found a solution to this problem?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.