# Nginx Memcached 20000 bytes limit

**URL:** <https://www.ruby-forum.com/t/nginx-memcached-20000-bytes-limit/210259>\
**Category:** NGINX\
**Created:** [August 3, 2011, 4:23pm UTC](https://www.ruby-forum.com/t/nginx-memcached-20000-bytes-limit/210259 "2011-08-03T16:23:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [August 3, 2011, 4:23pm UTC](https://www.ruby-forum.com/t/nginx-memcached-20000-bytes-limit/210259/1 "2011-08-03T16:23:01Z")

</div>

Hi  
i encountered the following issue with nginx 1.0.0-1 from dotdeb on  
debian squeeze linked to memcache servers :  
Datas stored in memcache and greater then 20000 bytes are corrupted when  
retrieved by nginx with memcached\_pass module.

Is there any solution to override this limit ? Upgrade to a newer nginx  
version fixing it ?

Thxs a lot for your answers.

Regards

Posted at Nginx Forum:

> **[Nginx Memcached 20000 bytes limit](https://forum.nginx.org/read.php?2,213308,213308#msg-213308)**
>
> Hi i encountered the following issue with nginx 1.0.0-1 from dotdeb on debian squeeze linked to memcache servers : Datas stored in memcache and greater then 20000 bytes are corrupted when retrieved by nginx with memcached\_pass module. Is there any...

---

<div class="post-metadata">

**Author:** ![jurax](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f0a364/32.png) [@jurax](https://www.ruby-forum.com/u/jurax)\
**Post date:** [August 3, 2011, 4:26pm UTC](https://www.ruby-forum.com/t/nginx-memcached-20000-bytes-limit/210259/2 "2011-08-03T16:26:08Z")

</div>

Hello!

On Wed, Aug 03, 2011 at 10:22:20AM -0400, jurax wrote:

> Hi  
> i encountered the following issue with nginx 1.0.0-1 from dotdeb on  
> debian squeeze linked to memcache servers :  
> Datas stored in memcache and greater then 20000 bytes are corrupted when  
> retrieved by nginx with memcached\_pass module.
> 
> Is there any solution to override this limit ? Upgrade to a newer nginx  
> version fixing it ?
> 
> Thxs a lot for your answers.

Check your memcached client compression threshold.

Maxim D.
