0

nginx 1.7 と PHP (Laravel フレームワーク) を使用して PostgreSQL データベースから 100 万行以上を取得すると、エラー 500 が 10 秒以内に表示されます。

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

すでにいくつかのタイムアウトを長く設定し、nginx をリロードしましたが、機能していません。このタイムアウトを防ぐのはどの設定ですか?

サイト対応

location ~ \.php$ {
    fastcgi_pass unix:/var/run/php5-fpm.sock;
    fastcgi_index index.php;
    include fastcgi_params;
    fastcgi_read_timeout 6000;
    fastcgi_send_timeout 6000;
    client_body_timeout 6000;
    send_timeout 6000;
    proxy_read_timeout 6000;
}
4

1 に答える 1