Welcome! Log In Create A New Profile

Advanced

629532 image filter: too big response: 1192722 while sending response to client

Anton Gorlov
August 08, 2011 02:26AM
На 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@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

629532 image filter: too big response: 1192722 while sending response to client

Anton Gorlov August 08, 2011 02:26AM

Re: 629532 image filter: too big response: 1192722 while sending response to client

Maxim Dounin August 08, 2011 02:46AM

Re: 629532 image filter: too big response: 1192722 while sending response to client

Anton Gorlov August 08, 2011 02:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 325
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready