All pastes #2106844 Raw Edit

Someone

public text v1 · immutable
#2106844 ·published 2012-01-27 20:40 UTC
rendered paste body
ERROR FROM LOG:
===============
2012/01/27 15:27:39 [crit] 2254#0: *360 open() "/mediafiles/RDMCHF/Published/images/3b/b6/b9a9486f4b61b034ebb7960f70cf.jpg" failed (11: Resource temporarily unavailable), client: 172.17.176.69, server: media.chf.foo.com, request: "GET /images/3b/b6/b9a9486f4b61b034ebb7960f70cf.jpg HTTP/1.1", host: "chf.media.td.foo.com:81", referrer: "http://chf.qa.td.foo.com/areas/blog/manage/post.aspx?bid=13345"


NGINX.CONF:
==========
user www-data;

worker_processes  2;
worker_rlimit_nofile 32000;

#error_log       /dev/null       crit;
error_log       /tmp/nginx.err       debug;

pid        logs/nginx-81.pid;

events {
    worker_connections  4096;
}


http {
    include       mime.types;
    default_type  application/octet-stream;

        open_log_file_cache     max=256 inactive=30s min_uses=3 valid=1m;

    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';

    log_format  nginxlog  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$host"';

    log_format  upstreamlog  '$remote_addr [$time_local] "$request" '
                      '$status $body_bytes_sent $upstream_addr $upstream_cache_status '
                      '$upstream_status $upstream_response_time "$host"';

    log_not_found off;

    access_log  off;

    sendfile        on;
    add_header    Cache-Control public;
    expires +30d;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  180;

        proxy_connect_timeout 12;
        proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;

        proxy_buffers 64 16k;
        proxy_buffer_size 64k;

        large_client_header_buffers 16 16k;

        #gzip  on;
        #gzip_comp_level 6;
        #gzip_proxied any;
        #gzip_vary on;
        #gzip_types image/bmp;

        include         origin-81/*.conf;

}