Nginx和Chrome,经过5次静态内容请求(50MB)Chrome称待处理

时间:2013-10-13 22:21:54

标签: google-chrome nginx

我有一个8核和32Gb内存的服务器,我使用的是Nginx,这是我的Conf:

user www-data;
worker_processes 16;
pid /var/run/nginx.pid;
worker_rlimit_nofile 100000;

events {
        worker_connections 4000;

        use epoll;

        multi_accept on;
}

http {
        open_file_cache          max=200000 inactive=20s;
        open_file_cache_valid    30s;
        open_file_cache_min_uses 2;
        open_file_cache_errors   on;

        sendfile on;
        client_max_body_size 2048m;

        tcp_nopush  on;
        tcp_nodelay on;

        keepalive_timeout  15 15;
#       keepalive_requests 100000;

        reset_timedout_connection on;

        client_header_timeout  1m;
        client_body_timeout    1m;
        send_timeout           1m;

        types_hash_max_size 2048;
        server_tokens off;

        gzip              on;
        gzip_disable      "msie6";
        gzip_buffers      256 4k;
        gzip_comp_level   5;
#       gzip_http_version 1.0;
        gzip_min_length   1280;
        gzip_types        text/plain text/css application/x-javascript text/xml application/xml application/xml+rss application/json text/javascript image/x-icon image/bmp;
        gzip_vary         on;

        include /etc/nginx/mime.types;
        default_type application/octet-stream;

        access_log /var/log/nginx/access.log;
        error_log /var/log/nginx/error.log;

        include /etc/nginx/conf.d/*.conf;
        include /etc/nginx/sites-enabled/*;
}

在我的网站上,当我看到5部电影之后,我必须等待或关闭并重启我的Chrome以查看其他5部电影......

在Chrome网络中,我可以看到网址,但状态为:(待定),其他内容...... 我可以在Chrome上看到(左下角):等待可用的套接字

有人有解决方案吗? 我的nginx.conf好吗?

Serioulsy,提前thx

0 个答案:

没有答案