Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
629532 image filter: too big response: 1192722 while sending response to client
- To: nginx-ru@xxxxxxxxx
- Subject: 629532 image filter: too big response: 1192722 while sending response to client
- From: Anton Gorlov <stalker@xxxxxxxxxxx>
- Date: Mon, 08 Aug 2011 10:24:02 +0400
На 1 из серверов обнаружилась интересная проблемка с модулем image
filter - на некоторых картинках выдаёт ошибку
629532 image filter: too big response: 1192722 while sending response to
client
if ($uri ~ ^/frames/thumb/) {
set $w 100;
set $h 150;
}
location ~^/frames/thumb/.*\.(?:jpg|gif|png)$ {
root /var/www/vhosts/storage-1/www/frames;
rewrite ^/frames/thumb/(.*)$ /$1;
image_filter resize $w $h;
break;
}
на картинке
file 104.png
104.png: PNG image, 375 x 590, 8-bit/color RGBA, non-interlaced
отрабатывает успешно, а на
file 222.png
222.png: PNG image, 800 x 1123, 8-bit/color RGBA, non-interlaced
выдаёт вышеназванную ошибку.
nginx -V
nginx version: nginx/0.8.52
TLS SNI support enabled
configure arguments: --prefix=/ --conf-path=/etc/nginx/nginx.conf
--sbin-path=/usr/sbin --error-log-path=/var/log/nginx/nginx.error.log
--http-log-path=/var/log/nginx/nginx.log
--http-client-body-temp-path=/var/spool/nginx/tmp/client
--http-proxy-temp-path=/var/spool/nginx/tmp/proxy
--http-fastcgi-temp-path=/var/spool/nginx/tmp/fastcgi
--http-uwsgi-temp-path=/var/spool/nginx/tmp/uwsgi
--http-scgi-temp-path=/var/spool/nginx/tmp/scgi
--pid-path=/var/run/nginx.pid --user=_nginx --group=_nginx
--with-http_ssl_module --with-cc-opt='-I /usr/include/pcre/'
--with-rtsig_module --with-select_module --with-poll_module
--with-aio_module --with-file-aio --with-mail --with-mail_ssl_module
--with-imap --with-imap_ssl_module --with-md5=/usr/lib64
--with-http_ssl_module --with-http_realip_module
--with-http_addition_module --with-http_sub_module
--with-http_dav_module --with-http_flv_module
--with-http_gzip_static_module --with-http_stub_status_module
--with-http_image_filter_module --with-http_perl_module
--add-module=nginx_upload_module/ --add-module=nginx_upload-progress-module/
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|