read() статики без двух байт - nginx-0.5.35/cygwin-2003Server-R2

Sergey Shepelev temotor at gmail.com
Tue Apr 22 14:09:03 MSD 2008


При запросе статики, nginx долго думает и ничего не происходит.
Файлик, само собой, на месте. Действительно, 28 байт.

Может кто-нибудь сталкивался?

2008/04/22 11:43:51 [alert] 12184#0: *5814 read() reads only 26 of 28 
from file while sending response to client, client: 127.0.0.1, server: 
чч.ччч.чч, request: "GET /robot.txt HTTP/1.1", host: "чч.ччч.чч"

Сайт:

location = /robot.txt {
	rewrite ^/robot.txt /sf/robot.txt break;
}

location /sf {
	root /cygdrive/d/Inetpub/ччччч;
}


Сервер:

worker_processes 2;
error_log logs/error.log warn;
events {
	worker_connections  64;
}

http {
	include conf/mime.types;
	default_type text/html;
	access_log logs/access.log main;
	sendfile	on;
	#tcp_nopush	on;
	keepalive_timeout	65 50;
	gzip	off;
	proxy_buffering off;
}





More information about the nginx-ru mailing list