Friday, October 7, 2011

Re: memcached not working with django

Disregard my reply, I see that you solved your problem already. (I missed
the rest of the thread until now.)

Brett


On 10/7/11 10:40 AM, "Brett Epps" <Brett.Epps@quest.com> wrote:

>Have you configured Django to use memcached in your CACHES setting? If
>so, can you post that? Also, what are you caching?
>
>Brett
>
>
>On 10/7/11 8:10 AM, "tino" <tino85@gmail.com> wrote:
>
>>Hello,
>>
>>I am trying to implement memcached on my django site.
>># telnet localhost 11211
>>Trying 127.0.0.1...
>>Connected to localhost.localdomain (127.0.0.1).
>>Escape character is '^]'.
>>stats
>>STAT pid 22537
>>STAT uptime 31523
>>STAT time 1317992962
>>STAT version 1.4.5
>>STAT pointer_size 64
>>STAT rusage_user 0.000000
>>STAT rusage_system 0.000000
>>STAT curr_connections 10
>>STAT total_connections 41
>>STAT connection_structures 11
>>STAT cmd_get 0
>>STAT cmd_set 0
>>STAT cmd_flush 0
>>STAT get_hits 0
>>STAT get_misses 0
>>STAT delete_misses 0
>>STAT delete_hits 0
>>STAT incr_misses 0
>>STAT incr_hits 0
>>STAT decr_misses 0
>>STAT decr_hits 0
>>STAT cas_misses 0
>>STAT cas_hits 0
>>STAT cas_badval 0
>>STAT auth_cmds 0
>>STAT auth_errors 0
>>STAT bytes_read 190
>>STAT bytes_written 23756
>>STAT limit_maxbytes 67108864
>>STAT accepting_conns 1
>>STAT listen_disabled_num 0
>>STAT threads 4
>>STAT conn_yields 0
>>STAT bytes 0
>>STAT curr_items 0
>>STAT total_items 0
>>STAT evictions 0
>>STAT reclaimed 0
>>END
>>
>>As you can see the cmd_get value is 0 in telnet stats. Can anybody
>>please advice?
>>
>>--
>>You received this message because you are subscribed to the Google Groups
>>"Django users" group.
>>To post to this group, send email to django-users@googlegroups.com.
>>To unsubscribe from this group, send email to
>>django-users+unsubscribe@googlegroups.com.
>>For more options, visit this group at
>>http://groups.google.com/group/django-users?hl=en.
>>
>
>--
>You received this message because you are subscribed to the Google Groups
>"Django users" group.
>To post to this group, send email to django-users@googlegroups.com.
>To unsubscribe from this group, send email to
>django-users+unsubscribe@googlegroups.com.
>For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment