[MediaWiki-l] verify sessions stored in memcached

Tim Dunphy bluethundr at gmail.com
Sat Oct 3 23:00:36 UTC 2015


>
> That is the "golden" question.
> The wasted is normal.
> Look to the MB used, and if it goes to your limit, increase the memory.
> I make 128MB min. on my servers.


Cool, Frank! Thanks for the advice.

On Sat, Oct 3, 2015 at 6:56 PM, Frank Baxmann <service at frankbaxmann.de>
wrote:

> That is the "golden" question.
> The wasted is normal.
> Look to the MB used, and if it goes to your limit, increase the memory.
> I make 128MB min. on my servers.
>
>
> On 04.10.2015 00:39, Tim Dunphy wrote:
>
>> you just see the config of memcached.
>>> To see more you need admin tools, I use "phpMemcachedAdmin" for this.
>>> But with these tools you just see the detail status and config of
>>> memcached,
>>> the hitrates and the Slab details.
>>> If you know the size of the session data, you can look into the
>>> slab details and see the data there.
>>>
>>
>> Cool! Thanks for the advice. I just set this up! Looks good.  One question
>> for you tho. In my about 1.9% of memcached used and 41.6% as 'wasted'. So
>> I
>> guess that means that my wiki setup isn't using that much of memcached.
>> How
>> can I determine the best size of the cache for my memcached setup?
>> Currently I'm only using the default which is 64MB of cache.
>>
>> Thanks,
>> Tim
>>
>> On Sat, Oct 3, 2015 at 5:42 PM, Frank Baxmann <service at frankbaxmann.de>
>> wrote:
>>
>> Hi Tim,
>>>
>>> you just see the config of memcached.
>>> To see more you need admin tools, I use "phpMemcachedAdmin" for this.
>>> But with these tools you just see the detail status and config of
>>> memcached,
>>> the hitrates and the Slab details.
>>>
>>> If you know the size of the session data, you can look into the
>>> slab details and see the data there.
>>>
>>> Greetings
>>> Frank
>>>
>>>
>>> On 03.10.2015 22:56, Tim Dunphy wrote:
>>>
>>> Hey guys,
>>>>
>>>> Using the stats command to the memcached telnet interface, what am I
>>>> looking for in the outuput to verify that sessions are indeed being
>>>> stored
>>>> in memcached?
>>>>
>>>> Here's what I see in the output of that command:
>>>>
>>>> Connected to localhost.
>>>> Escape character is '^]'.
>>>> stats
>>>> STAT pid 15660
>>>> STAT uptime 520834
>>>> STAT time 1443903604
>>>> STAT version 1.4.22
>>>> STAT libevent 2.0.21-stable
>>>> STAT pointer_size 64
>>>> STAT rusage_user 24.649971
>>>> STAT rusage_system 25.674705
>>>> STAT curr_connections 11
>>>> STAT total_connections 2036
>>>> STAT connection_structures 14
>>>> STAT reserved_fds 20
>>>> STAT cmd_get 60483
>>>> STAT cmd_set 53862
>>>> STAT cmd_flush 0
>>>> STAT cmd_touch 0
>>>> STAT get_hits 57239
>>>> STAT get_misses 3244
>>>> STAT delete_misses 13
>>>> STAT delete_hits 875
>>>> 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 touch_hits 0
>>>> STAT touch_misses 0
>>>> STAT auth_cmds 0
>>>> STAT auth_errors 0
>>>> STAT bytes_read 13866189
>>>> STAT bytes_written 27434116
>>>> STAT limit_maxbytes 67108864
>>>> STAT accepting_conns 1
>>>> STAT listen_disabled_num 0
>>>> STAT threads 4
>>>> STAT conn_yields 0
>>>> STAT hash_power_level 16
>>>> STAT hash_bytes 524288
>>>> STAT hash_is_expanding 0
>>>> STAT malloc_fails 0
>>>> STAT bytes 1412767
>>>> STAT curr_items 1173
>>>> STAT total_items 53854
>>>> STAT expired_unfetched 12
>>>> STAT evicted_unfetched 0
>>>> STAT evictions 0
>>>> STAT reclaimed 20
>>>> STAT crawler_reclaimed 0
>>>> STAT lrutail_reflocked 0
>>>> END
>>>>
>>>> What other stats are interesting to look at in relation to mediawiki and
>>>> why?
>>>>
>>>> Thanks,
>>>>
>>>> Tim
>>>>
>>>>
>>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> To unsubscribe, go to:
>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>
>>>
>>
>>
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B


More information about the MediaWiki-l mailing list