Welcome! Log In Create A New Profile

Advanced

Re: Fastcgi_cache Key Length Bug

April 07, 2011 03:02AM
On Wed, Apr 06, 2011 at 07:37:21PM -0400, cromulus wrote:
> When using fastcgi_cache, if the key you are using is too long, say over
> 255 characters, it appears that fastcgi_cache breaks, and you get errors
> that look like this:
>
> *18 upstream sent unsupported FastCGI protocol version: 114 while
> reading upstream,
>
> I've encountered this error in 0.8.54 and 0.9.7
>
> this is an example of a url that will break fast_cgi cache:
>
> http://example.com/wp-admin/load-scripts.php?c=1&load=admin-bar,hoverIntent,common,jquery-color,wp-ajax-response,wp-lists,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,quicktags,jquery-query,admin-comments,jquery-ui-sortable,postbox,dashboard,thickbox,plugin-install&ver=f8890f4269ea35a6d5e30382070f0a89
>
> using this key:
>
> fastcgi_cache_key $host$request_uri$request_method;
>
> fastcgi backend is php-fpm
>
> system:
> Ubuntu 9.04
> kernel: 2.6.32.16
> arch: i686
>
> Thanks!
> Let me know if there is any other info I can provide to help squash this
> bug!

nginx cache should work with keys up to ~65000 characters.
Could you test your setup without fastcgi_cache ?


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Fastcgi_cache Key Length Bug

cromulus April 06, 2011 07:37PM

Re: Fastcgi_cache Key Length Bug

Igor Sysoev April 07, 2011 03:02AM

Re: Fastcgi_cache Key Length Bug

cromulus April 07, 2011 09:59AM

Re: Fastcgi_cache Key Length Bug

cromulus April 07, 2011 11:28AM

Re: Fastcgi_cache Key Length Bug

Maxim Dounin April 07, 2011 09:46PM

Re: Fastcgi_cache Key Length Bug

cromulus April 08, 2011 11:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 299
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