Welcome! Log In Create A New Profile

Advanced

[alert] while sending response to client

Posted by stereoz 
[alert] while sending response to client
January 29, 2010 06:23AM
Добрый день, при большом потоке отдачи статического контента столкнулись со следующей проблемой:

В error_log появляются записи вида:
2010/01/29 10:50:25 [alert] 935#0: *98727172 pread() read only 7968 of 8064 from "путь_до_файла/download.css" while sending response to client, client: IP_ADDR, server: $hostname_location, request: "GET /style/download.css HTTP/1.1", host: "HOST", referrer: "REFER/download/?go"
в результате css файл отдается пустой.
его реальный размер 7968

самое инетерсное, что простой /etc/init.d/nginx reload избавляет от проблемы не некоторое время.

nginx -V
nginx version: nginx/0.8.32
TLS SNI support disabled
configure arguments: --prefix=/usr --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/body --http-proxy-temp-path=/var/lib/nginx/proxy --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-debug --with-http_stub_status_module --with-http_flv_module --with-http_ssl_module --with-http_dav_module --with-http_gzip_static_module --with-http_realip_module --with-file-aio

Часть конфига(может быть проблема именно в этом):

sendfile on;
output_buffers 2 512k;
aio off;
directio 4m;

open_file_cache max=1000 inactive=30s;
open_file_cache_valid 360s;
open_file_cache_min_uses 2;
open_file_cache_errors on;

Подскажите пожалуйста из-за чего возникает такое странное поведение nginx.

Спасибо.
BIT
Re: [alert] while sending response to client
March 09, 2010 07:57PM
Аналогичная проблема %)
Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 181
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready