Nginx 工作进程退出

Nginx 工作进程退出

我收到以下错误信息/var/log/nginx/error.log

2014/07/17 08:36:21 [alert] 8206#0: worker process 8207 exited on signal 11 (core dumped)
2014/07/17 08:36:21 [alert] 8206#0: worker process 8210 exited on signal 11 (core dumped)
2014/07/17 08:36:22 [alert] 8206#0: worker process 8208 exited on signal 11 (core dumped)
2014/07/17 08:36:26 [alert] 8206#0: worker process 8209 exited on signal 11 (core dumped)
2014/07/17 08:36:26 [alert] 8206#0: worker process 8232 exited on signal 11 (core dumped)
2014/07/17 08:36:26 [alert] 8206#0: worker process 8236 exited on signal 11 (core dumped)

/var/log/nginx/access.loghttps显示访问该地址时发生的重定向http

[17/Jul/2014:09:22:54 +0000] "GET / HTTP/1.1" 301 185 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.76.4 (KHTML, like Gecko) Version/6.1.4 Safari/537.76.4"

知道是什么原因造成的吗?它位于 Ubuntu 12.04 和标准上apt-get install nginx

这是配置:

server {
    listen      80;
    server_name domain.com;
    rewrite     ^ https://$server_name$request_uri? permanent;
}

server {
    listen                  443 ssl;
    server_name             domain.com;
    ssl_certificate         /ssl/path.crt;
    ssl_certificate_key     /ssl/path.key;
    error_page              404             /404.html;
    error_page              500 502 503 504 /50x.html;
    location                = 50x.html {
        root    /usr/share/nginx/html;
    }
    location                / {
        root    /project/path/root;
    }
    access_log              /project/path/logs/nginx-access.log;
    error_log               /project/path/logs/nginx-error.log;
    client_max_body_size    20m;
}

我仅当我使用 Safari 查看网站时才会收到此错误,它发生在多台机器上,而不仅仅是我的,并且每台 Safari 上都显示相同的错误。

在此处输入图片描述

答案1

这可能与 nginx 的此票据中描述的 SSL 会话缓存问题有关,http://trac.nginx.org/nginx/ticket/235

答案2

解决方法是对所有服务器块使用相同的会话缓存,例如在 http{} 级别进行配置。

相关内容