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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to