Вопрос по error_log
Dmitry Medvedev
dmitry at fapu.ru
Fri Mar 28 15:58:54 MSK 2008
Эти ошибки относятся к уровню info, который у вас указан
error_log /projects/xxx.net/logs/error_log info;
Можно изменить его на [ debug | info | notice | warn | error | crit ]
Денис Гринев пишет:
>
> Добрый день.
>
>
>
> В error_log постоянно пишется что то типа такого:
>
> 2008/03/28 15:17:14 [info] 1463#0: *55221 client 122.162.166.114
> closed keepalive connection (104: Connection reset by peer)
>
> 2008/03/28 15:17:21 [info] 1464#0: *55719 client 79.138.231.43 closed
> keepalive connection
>
> 2008/03/28 15:17:21 [info] 1463#0: *55186 client 88.140.144.227 closed
> keepalive connection (104: Connection reset by peer)
>
> 2008/03/28 15:17:21 [info] 1463#0: *55188 client 88.140.144.227 closed
> keepalive connection (104: Connection reset by peer)
>
> 2008/03/28 15:17:27 [info] 1463#0: *55237 client 60.53.235.61 closed
> keepalive connection
>
> 2008/03/28 15:17:27 [info] 1466#0: *54870 client 81.33.149.158 closed
> keepalive connection
>
> 2008/03/28 15:17:27 [info] 1463#0: *55212 client 81.33.149.158 closed
> keepalive connection
>
> 2008/03/28 15:17:29 [info] 1463#0: *55268 client 69.124.230.221 closed
> keepalive connection (104: Connection reset by peer)
>
> 2008/03/28 15:17:35 [info] 1463#0: *55265 client 125.60.241.82 closed
> keepalive connection (104: Connection reset by peer)
>
> 2008/03/28 15:17:36 [info] 1464#0: *55716 client 125.160.35.75 closed
> keepalive connection
>
> 2008/03/28 15:17:36 [info] 1464#0: *55699 client 125.160.35.75 closed
> keepalive connection
>
> 2008/03/28 15:17:42 [info] 1463#0: *55029 client 124.82.32.110 closed
> keepalive connection (104: Connection reset by peer)
>
> 2008/03/28 15:17:47 [info] 1466#0: *55375 client 207.126.196.16 closed
> keepalive connection (104: Connection reset by peer)
>
> 2008/03/28 15:17:58 [info] 1465#0: *56039 client 71.227.128.221 closed
> keepalive connection
>
> 2008/03/28 15:17:59 [info] 1465#0: *55811 client 58.69.48.232 closed
> keepalive connection (104: Connection reset by peer)
>
> 2008/03/28 15:17:59 [info] 1465#0: *55846 client 58.69.48.232 closed
> keepalive connection (104: Connection reset by peer)
>
> 2008/03/28 15:17:59 [info] 1465#0: *55936 client closed prematurely
> connection while reading client request line, client: 165.21.154.116,
> server: teet.net
>
> 2008/03/28 15:18:02 [info] 1465#0: *55875 client 89.254.135.137 closed
> keepalive connection
>
>
>
> Это все нормально, так и должно быть? Или я как-то не так настроил nginx?
>
>
>
> Операционная система Linux Gentoo
>
> Вот конфиг nginx-0.6.29:
>
>
>
> user nginx nginx;
>
> worker_processes 4;
>
>
>
> events {
>
> worker_connections 4096;
>
> use epoll;
>
> }
>
>
>
> http {
>
> 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"';
>
>
>
> client_header_timeout 3m;
>
> client_body_timeout 3m;
>
> send_timeout 3m;
>
>
>
> client_header_buffer_size 1k;
>
> large_client_header_buffers 4 4k;
>
>
>
> gzip on;
>
> gzip_min_length 500;
>
> gzip_buffers 4 8k;
>
> gzip_types text/plain text/html application/x-javascript
> text/css;
>
>
>
> output_buffers 1 32k;
>
> postpone_output 1460;
>
>
>
> sendfile on;
>
> tcp_nopush on;
>
> tcp_nodelay on;
>
>
>
> keepalive_timeout 75 20;
>
>
>
> index index.php;
>
>
>
> server {
>
> listen xxx;
>
> server_name xxx.net;
>
>
>
> access_log /projects/xxx.net/logs/access_log main;
>
> error_log /projects/xxx.net/logs/error_log info;
>
>
>
> root /projects/xxx.net/htdocs;
>
>
>
> и т.д. тут уже Вирт хосты
>
>
>
> Спасибо.
>
>
>
> С уважением,
>
> Денис
>
>
>
More information about the nginx-ru
mailing list