The -u option is for specifying the user to drop privileges to?

If you see mentions of "managed instances" - that's unfinished code, which we should silence. You can safely ignore that.

-Dormando

On Fri, 5 Sep 2008, TK wrote:


thanks, steve.

Was looking at the help section of the memcached server and there is a
-u option
for managed instance. Can somebody explain when and where will someone
use
this option.

Thanks in advance.

TK

On Sep 5, 11:32 am, "Steve Yen" <[EMAIL PROTECTED]> wrote:
On Fri, Sep 5, 2008 at 11:29 AM, Steve Yen <[EMAIL PROTECTED]> wrote:
You're running an older memcached version.  They've been there since
at least 1.2.5 and maybe earlier.

On Fri, Sep 5, 2008 at 9:50 AM, TK <[EMAIL PROTECTED]> wrote:

thanks steve,

I am not able to get anything for:
1. stats items
2. stats sizes

even though I have bunch of items stored in the memcache.

Also for the stats cachedump what is the limit parameter?

stats cachedump [id] [limit]

The id param is an integer slab id, starting at 0 for the smallest slab.

The limit param is an integer number of max items in that slab to output.

Also, the limit can be just 0 to output all items in that slab.

Should probably throw stuff like this onto the new wiki.



best,
steve

TK

On Sep 5, 8:48 am, "Steve Yen" <[EMAIL PROTECTED]> wrote:
On Fri, Sep 5, 2008 at 7:35 AM, TK <[EMAIL PROTECTED]> wrote:

Hi! All

I am new to memcache. I wanted to find out what are the statistics
which we care about. I just came across the following:
#tackable-image:11211 Field       Value
                  bytes    17962932
             bytes_read    17450985
          bytes_written       90519
                cmd_get           0
                cmd_set       10047
  connection_structures           3
       curr_connections           2
             curr_items       10047
              evictions           0
               get_hits           0
             get_misses           0
         limit_maxbytes    67108864
                    pid       25215
           pointer_size          64
          rusage_system    0.627904
            rusage_user    0.172973
                threads           1
                   time  1220625172
      total_connections          30
            total_items       10047
                 uptime       57071
                version       1.2.6

And

 #  Item_Size   Max_age  1MB_pages Count   Full?
 9     696 B    56043 s       7   10000      no
 32   117.5 kB   57031 s       1       1      no
 36   286.9 kB   56991 s      10      30     yes
 37   358.6 kB   56950 s       5      10     yes
 38   448.2 kB   57052 s       3       6     yes

Are there any other statistics which we can look at? Also what is the
1MB_pages? And if someone can explain in detail the -m option? By
default the memory allocated is 64MB, is it for each slab or for the
whole memcache?

If these questions are answered some other place, please point me the
location.

thanks in advance.

TK

The stats commands include...
 stats
 stats slabs
 stats items
 // dumps out a list of objects of each size, with granularity of 32 bytes
 stats sizes
 // turn on/off details stats collections, at some performance cost
 stats detail [on|off|dump]
 stats cachedump [id] [limit]

The -m option is max amount of memory for the whole of memcached.

steve

Reply via email to