次のコンポーネントを備えたサーバーがあります。
- Ubuntu 12.04
- ニンクス 1.2.2
- 乗客 3.0.15
このサーバーで Ruby on Rails アプリを実行しています。現在、Nginx の error.log で、このエラーが定期的にポップアップしていることがわかりました。
[ pid=12615 thr=3065355072 file=ext/nginx/HelperAgent.cpp:923 time=2012-10-22 09:31:03.929 ]: Couldn't forward the HTTP response back to the HTTP client: It seems the user clicked on the 'Stop' button in his browser.
この問題がどこから来たのか誰にも分かりませんか? これは私のNginx confです:
user deployer staff;
worker_processes  5;
error_log  /var/log/nginx/error.log notice;
pid        /var/log/nginx/nginx.pid;
events {
    worker_connections  2048;
    multi_accept on;
}
http {
    passenger_root /var/lib/gems/1.9.1/gems/passenger-3.0.15;
    passenger_ruby /usr/bin/ruby1.9.1;
    include       mime.types;
    default_type  application/octet-stream;
    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                  '$status $body_bytes_sent "$http_referer" '
                  '"$http_user_agent" "$http_x_forwarded_for"';
    access_log  /var/log/nginx/access.log  main;
    sendfile        on;
    keepalive_timeout  65;
    server {
        passenger_enabled on;
        server_name xxx.com;
        listen       80;
        rails_env production;
        location ^~ /assets/ {
            gzip_static on;
             expires max;
             add_header Cache-Control public;
        }
        root /var/rails/alfa_paints/current/public;
        error_page  404              /404.html;
        error_page   500 502 503 504  /500.html;
    }
}