<div dir="ltr">I started memcached with "memcached -vv", I saw no cache content being shown:<div><br></div><div><div>memcached -vv</div><div>slab class 1: chunk size 88 perslab 11915</div><div>...</div><div>
<div>slab class 39: chunk size 489032 perslab 2<br></div></div><div><6 server listening</div><div><7 send buffer was 105472, now 268435456</div><div><7 server listening (udp)</div><div><8 new client connection</div>
<div><8 get /test</div><div>>8 END</div><div><8 connection closed.</div><div><8 new client connection</div><div><8 get /favicon.ico</div><div>>8 END</div><div><8 connection closed.</div><div><8 new client connection</div>
<div><8 set /test 0 0 9</div><div>>8 STORED</div><div><9 new client connection</div><div><9 get /test</div><div>>9 sending key /test</div><div>>9 END</div><div><9 connection closed.</div><div><br></div>
<div>But I noticed an interesting thing: '/favicon.ico' was requested now and then. Do you think it may cause the problem?</div><div><br></div><div class="gmail_quote">On Wed, Jul 30, 2008 at 10:11 PM, jeff emminger <span dir="ltr"><<a href="mailto:jemminger@gmail.com">jemminger@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">if you run memcached in verbose mode "memcached -vv" does it display<br>
the quote upon retrieving the key?<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
On Wed, Jul 30, 2008 at 8:58 AM, zhan <<a href="mailto:superxain@gmail.com">superxain@gmail.com</a>> wrote:<br>
> When I tried to use nginx and memcached module,<br>
> the output always had a odd quotation mark<br>
> before the cached content.<br>
><br>
> I have tried nginx/0.6.32 and nginx 0.5.34<br>
> I used:<br>
> ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-linux] and<br>
> ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-darwin9]<br>
> with<br>
> memcached 1.2.5<br>
> libmemcached 0.22<br>
> memcached gem 0.11<br>
> or<br>
> memcached-client 1.5.0<br>
><br>
> here is my nginx conf file:<br>
> worker_processes 1;<br>
> pid /www/logs/nginx.pid;<br>
> events {<br>
> worker_connections 1024;<br>
> }<br>
> http {<br>
> server {<br>
> listen 80;<br>
> server_name localhost;<br>
> location / {<br>
> default_type text/html;<br>
> set $memcached_key $uri;<br>
> memcached_pass localhost:11211;<br>
> }<br>
> }<br>
> }<br>
><br>
> after I setup a cache:<br>
> irb(main):002:0> require 'memcached'<br>
> => true<br>
> irb(main):003:0> c = Memcached.new('localhost:11211')<br>
> #...<br>
> irb(main):006:0> c.set '/test', 'hello'<br>
><br>
> when I opened <a href="http://127.0.0.1/test" target="_blank">127.0.0.1/test</a> with safari 3.0 or<br>
> Firefox 3, I didn't get<br>
> hello<br>
> but:<br>
> " hello<br>
><br>
> I get no idea where the Quotation mark coming from!!!!!<br>
> Can anyone tell me how to fix it?<br>
><br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div></div>