Welcome! Log In Create A New Profile

Advanced

a lot of crit error in logs

April 16, 2010 10:28AM
I use nginx for reverse proxy on front of apache2. I get a lot of crit messages in logs like this.

2010/04/16 17:20:32 [crit] 1730#0: *468039 rename() "/webhost/tmp/0004372283" to "/webhost/tmp/xxxxxxx/" failed (20: Not a directory) while reading upstream, client: xxxxxxxxxxx, server: *.*, request: "GET /xxxxxxxx/?&manset_id=&baslangic=2510 HTTP/1.1", upstream: "http://xxxxxxxxxxx:8080/xxxxxxxxxxxx/?&manset_id=&baslangic=2510", host: "xxxxxxxxxx.com"

here is my config.

user www-data;
worker_processes 4;

error_log /logs/nginx/error.log;
pid /var/run/nginx.pid;

events {
worker_connections 1024;
}

http {
include /etc/nginx/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 /logs/nginx/access.log main;

tcp_nodelay on;

## Size Limits
client_body_buffer_size 128K;
client_header_buffer_size 128K;
client_max_body_size 1M;
large_client_header_buffers 1 1k;

## Timeouts
client_body_timeout 60;
client_header_timeout 60;
expires 0;
keepalive_timeout 60 60;
send_timeout 60;

## General Options
ignore_invalid_headers on;
# keepalive_requests 100;
limit_zone gulag $binary_remote_addr 5m;
recursive_error_pages on;
sendfile on;
server_name_in_redirect off;
server_tokens off;

gzip on;
# gzip_static on;
gzip_buffers 16 8k;
gzip_comp_level 6 ;
gzip_http_version 1.0;
gzip_proxied any;
gzip_min_length 0;
gzip_types application/x-shockwave-flash text/plain text/html text/css application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
gzip_vary on;


upstream xxxxxxxxxxx {

server xxxxxxxxxxxxxxxxxx:8080;

}


server {


server_name *.*;
root /webhost/tmp/;

location /
{
proxy_pass http://xxxxxxx;

}


}

proxy_store on;
proxy_redirect off;
proxy_temp_path /webhost/tmp;
proxy_store_access user:rw group:rw all:r; # set cache access permissions
proxy_set_header Host $host; # Forward IP headers to Apache
proxy_set_header X-Real-IP $remote_addr; # Forward IP headers to Apache
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # Forward IP headers to Apache



include /etc/nginx/conf.d/*.conf;
# include /etc/nginx/sites-enabled/*;
}
Subject Author Posted

a lot of crit error in logs

solarisik April 16, 2010 10:28AM

Re: a lot of crit error in logs

st1905 April 16, 2010 01:22PM

Re: a lot of crit error in logs

Maxim Dounin April 17, 2010 05:12AM

Re: a lot of crit error in logs

solarisik April 19, 2010 03:24AM

Re: a lot of crit error in logs

solarisik April 19, 2010 04:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 69
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready