Please upgrade to a newer version :) That one has grown a lot of hair,
memcached does not stop accepting connections when it gets full. It's
supposed to do more useful things instead.
-Dormando
I don't know if possible maybe you have Apache threads mounting up on web servers to the default limit of 1024 sockets on the memcached? Used to happen to us a few times on DB timeouts.
We also used to have crashes of memcached from time to time so maybe buggy version?
Art
Then also upgrade your OS to Squeeze (latest stable) :)
http://packages.debian.org/squeeze/memcached
- Marc
On Mon, May 30, 2011 at 6:12 AM, Eduardo Silvestre <jsilv...@gmail.com> wrote:
> Hello Dormando,
>
> thans for your feedback.Why will
Lenny is too old to support; the cause is because you're 10+ revisions
behind and we fixed too many crashes to list. We're on 1.4.5 (soon to be
1.4.6 or 1.6.0). You can try to fetch it from backports or build yourself.
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
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
why do you need to restart it? you're telling it that it's allowed to use up to 2G and it never breaks that... flush_all only flushes the cache, it doesn't deallocate memory.
awl