you can telnet to the host and port and perform stats there

There's a good article here:

http://lzone.de/articles/memcached.htm

Cheers,

Alvaro

On Apr 28, 2009, at 4:27 PM, gimler wrote:

>
> there is a memcache.php in the pecl package that display a nice stat.
>
> greetings
> Gimler
>
> On Apr 27, 10:36 pm, meppum <mmep...@gmail.com> wrote:
>> don't forget to also clear your eAccelerator cache (if you use it).
>>
>> On Apr 27, 4:31 pm, Jacob Coby <jc...@portallabs.com> wrote:
>>
>>> A couple more options:
>>
>>> Start memcached in debug mode and watch the output as keys are set  
>>> and
>>> retrieved.
>>
>>> Connect to memcached using telnet (telnet localhost 11211) and type
>>> 'stats' to get some stats about the # of keys, memory used, etc.  Do
>>> that a couple of times and see if the numbers change.
>>
>>> Also, did you clear your config cache when you enabled memcache on
>>> production?
>>
>>> On Apr 27, 2009, at 4:20 PM, meppum wrote:
>>
>>>> a few things to check:
>>
>>>> settings.yml - make sure cache: on is set under the .prod
>>>> factories.yml - make sure view_cache is uncommented and set  
>>>> correctly
>>>> (class: sfMemcacheCache, etc)
>>>> cache.yml - make sure the cache.yml file exists for the module  
>>>> you are
>>>> trying to cache.
>>
>>>> On Apr 27, 12:35 pm, HiDDeN <sombrasdepa...@gmail.com> wrote:
>>>>> How would I know if memcache is caching?
>>
>>>>> I have configured mycachethrough memcache (using the  
>>>>> sfMemcacheCache
>>>>> class in factories.yml), and in my development server it's  
>>>>> noticeable
>>>>> that it's caching (because it's fast), but in my production  
>>>>> server is
>>>>> not as fast, it seems to be processing the action each time it's
>>>>> called.
>>
>>>>> So... how could I know it? I know the getExtendedStats gives this
>>>>> information, but as Symfony doescachetransparently from the  
>>>>> user, I
>>>>> don't know how can I get the memcache identifier that Symfony is
>>>>> using...
>>
>>>>> Anyone knows?
>>
>>> --
>>> Jacob Coby
> >


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

Reply via email to