your email and your pasted stats seem to greatly disagree...  you're
allocating 96MB for memcached and that's how much it thinks it's stored.  it
also says it has stored 630k items- where are you getting 2,600?

also, as an aside, does your test program only store one size of item?

awl
On Jun 8, 2011 10:51 PM, "PK Hunter" <[email protected]> wrote:
> Actually I joined this google group to ask the same thing, and found this
> thread.
>
> I start memcached on a CentOS 64 bit server with 8 GB of RAM, with the
> following settings:
>
> memcached -d -m 96 -n 10 -c 4096 -f 1.05 -l 127.0.0.1 -p 11211
>
> Yet, the memcached on my server has just about 2,600 keys, and seeing the
> actual number of bytes stores including the characters needed to store
keys
> + their values, it is 632,817. Which I understand is about 0.60 MB, right?

>
> What am I missing?
>
> If I manually try to add keys, and I wrote a PHP program using the
memcache
> library to add 6,000 keys, the keys do NOT get added, and also the
"$status
> ["evictions"]" remains at 0. So I'm not sure why the server is stopping at

> circa 2,600 mark.
>
> Any ideas would be much appreciated!
>
> These are the stats of my server:
>
>
> Memcache Server version: 1.4.5
>
> Process id of this server process 21808
>
> Number of seconds this server has been running 200229
>
> Accumulated user time for this process 48.654603 seconds
>
> Accumulated system time for this process 198.973751 seconds
>
> Total number of items stored by this server ever since it started 637981
>
> Number of open connections 6
>
> Total number of connections opened since the server started running
1505905
>
> Number of connection structures allocated by the server 70
>
> Cumulative number of retrieval requests 2657551
>
> Cumulative number of storage requests 637981
>
> Number of keys that have been requested and found present 2507883 (94.4%)
>
> Number of items that have been requested and not found 149668(5.6%)
>
> Total number of bytes read by this server from network 97.1105 MB
>
> Total number of bytes sent by this server to network 3839.72 MB
>
> Number of bytes this server is allowed to use for storage. 96 MB
>
> Number of valid items removed from cache to free memory for new items. 0
>
>
>

Reply via email to