memcache and nginx

Igor Sysoev is at rambler-co.ru
Wed May 14 13:10:48 MSD 2008


On Tue, May 13, 2008 at 04:34:32PM -0400, Sean Allen wrote:

> 
> On May 13, 2008, at 2:14 AM, Igor Sysoev wrote:
> 
> >On Wed, May 07, 2008 at 04:44:02PM -0400, Sean Allen wrote:
> >
> >>have the same setup on two machines, identical configurations but the
> >>newer machines reports the following a few times an hour:
> >>
> >>2008/05/07 16:36:28 [error] 5969#0: *128011 memcached sent invalid
> >>trailer while sending to client, client: 66.60.241.3, server:
> >>micro.thepinkpatch.com, request: "GET /s-Pcpx300BT24p/lp HTTP/1.0",
> >>upstream: "memcached://127.0.0.1:11211", host:  
> >>"micro.thepinkpatch.com"
> >>
> >>My google skills failed me. Is there a solution to this?
> >
> >This may be nginx error or memcached error.
> >Both nginxes go to the same memcached ?
> >Is it reproduceable ? I.e. if you will request "/s-Pcpx300BT24p/lp"  
> >just
> >after you see error you see it again ?
> 
> different memcache installations. same version of memcache.
> 
> if i request, i dont get the error. so it has to be something related  
> in some fashion
> to the client.
> 
> but i dont see anything special in any fashion about them... the 7  
> that came in while i was writing this:
> 
> 151.213.86.255 - - [13/May/2008:16:24:41 -0400] "GET /s-Pcpx300BT24j/ 
> lp HTTP/1.0" 200 24516 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows  
> NT 5.1; FunWebProducts)"
> 75.90.4.28 - - [13/May/2008:16:22:56 -0400] "GET /s-Pcpx300BT24p/lp  
> HTTP/1.0" 200 24516 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT  
> 5.1)"
> 64.70.15.217 - - [13/May/2008:16:22:33 -0400] "GET /s-Pcpx300BT24p/lp  
> HTTP/1.1" 200 24516 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT  
> 5.1; SV1; .NET CLR 1.1.4322)"
> 24.128.107.217 - - [13/May/2008:16:27:40 -0400] "GET /s-Pcpx300BT30K/ 
> lp HTTP/1.0" 200 24516 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows  
> NT 5.1; SV1; .NET CLR 1.1.4322)"
> 72.231.196.6 - - [13/May/2008:16:28:52 -0400] "GET /s-Pcpx300BT24p/lp  
> HTTP/1.0" 200 24516 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT  
> 5.1; FunWebProducts)"
> 72.82.225.115 - - [13/May/2008:16:29:24 -0400] "GET /s-Pcpx300BT24p/lp  
> HTTP/1.0" 200 24516 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT  
> 5.1; FunWebProducts)"
> 72.88.124.28 - - [13/May/2008:16:30:52 -0400] "GET /s-Pcol300BT24j/lp  
> HTTP/1.1" 200 24516 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT  
> 5.1; SV1)"
> 
> and the error logs:
> 
> 2008/05/13 16:22:33 [error] 18511#0: *471 memcached sent invalid  
> trailer while sending to client, client: 64.70.15.217, server:  
> micro.thepinkpatch.com, request: "GET /s-Pcpx300BT24p/lp HTTP/1.1",  
> upstream: "memcached://127.0.0.1:11211", host: "micro.thepinkpatch.com"
> 2008/05/13 16:22:56 [error] 18511#0: *580 memcached sent invalid  
> trailer while sending to client, client: 75.90.4.28, server:  
> micro.thepinkpatch.com, request: "GET /s-Pcpx300BT24p/lp HTTP/1.0",  
> upstream: "memcached://127.0.0.1:11211", host: "micro.thepinkpatch.com"
> 2008/05/13 16:24:40 [error] 18511#0: *1022 memcached sent invalid  
> trailer while sending to client, client: 151.213.86.255, server:  
> micro.thepinkpatch.com, request: "GET /s-Pcpx300BT24j/lp HTTP/1.0",  
> upstream: "memcached://127.0.0.1:11211", host: "micro.thepinkpatch.com"
> 2008/05/13 16:27:40 [error] 18508#0: *2141 memcached sent invalid  
> trailer while sending to client, client: 24.128.107.217, server:  
> micro.thepinkpatch.com, request: "GET /s-Pcpx300BT30K/lp HTTP/1.0",  
> upstream: "memcached://127.0.0.1:11211", host: "micro.thepinkpatch.com"
> 2008/05/13 16:28:52 [error] 18513#0: *2541 memcached sent invalid  
> trailer while sending to client, client: 72.231.196.6, server:  
> micro.thepinkpatch.com, request: "GET /s-Pcpx300BT24p/lp HTTP/1.0",  
> upstream: "memcached://127.0.0.1:11211", host: "micro.thepinkpatch.com"
> 2008/05/13 16:29:23 [error] 18511#0: *2738 memcached sent invalid  
> trailer while sending to client, client: 72.82.225.115, server:  
> micro.thepinkpatch.com, request: "GET /s-Pcpx300BT24p/lp HTTP/1.0",  
> upstream: "memcached://127.0.0.1:11211", host: "micro.thepinkpatch.com"
> ≈??2008/05/13 16:30:52 [error] 18509#0: *3198 memcached sent invalid  
> trailer while sending to client, client: 72.88.124.28, server:  
> micro.thepinkpatch.com, request: "GET /s-Pcol300BT24j/lp HTTP/1.1",  
> upstream: "memcached://127.0.0.1:11211", host: "micro.thepinkpatch.com"
> 
> they are all coming from XP machines but other than that... not much  
> else i can see from it.

It seems you have small number of request/s. Could you enable debug logging
for several minutes until the bug will appear ?


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





More information about the nginx mailing list