Re: Measuring Memory Usage

2017-08-17 Thread Gopal Bharath
Ya I noticed. But I'm not sure where to post this question. Posted here since relevant discussion was going on, and thought someone could reply. On 11 August 2017 at 23:07, Boris Partensky wrote: > Gopal, did you noticed that you are replying to the entry from 2009? >

Re: Measuring Memory Usage

2017-08-11 Thread Boris Partensky
Gopal, did you noticed that you are replying to the entry from 2009? On Thu, Aug 10, 2017 at 5:58 AM, Gopal Bharath wrote: > Hi Anatoly, > > How can check the size of the value, if its a perl hash? I mean if the set > fails, will i be getting any error messages? I tried

Re: Measuring Memory Usage

2017-08-10 Thread Gopal Bharath
Hi Anatoly, How can check the size of the value, if its a perl hash? I mean if the set fails, will i be getting any error messages? I tried googling, and found that there's a method getResultCode give the result code for the previous executed command. But unfortunately i guess its support in

Re: Measuring Memory Usage

2009-04-24 Thread Nikhils
Hi, On Wed, Apr 22, 2009 at 9:54 PM, Anatoly Vorobey It was a standard installlation (memcached 1.2.6), and is a fairly simple invocation like so: /usr/local/bin/memcached -u nobody -d -m 1536 -l 127.0.0.1 -p 11211 - P /tmp/memcached.pid Have you tried experimenting with the -f option?

RE: Measuring Memory Usage

2009-04-23 Thread Olga Khenkin
: Tuesday, April 21, 2009 6:01 PM To: memcached Subject: Re: Measuring Memory Usage So, in short, you are saying that none of my cache inserts are being evicted. Which means that at any point where I am inserting into the cache, there is memory available to do so. Does this mean that my problem is one

Re: Measuring Memory Usage

2009-04-22 Thread tcbarrett
On Apr 22, 12:09 pm, Anatoly Vorobey avoro...@gmail.com wrote: 1. My code is no good, and I am not actually inserting into the cache for some reason. Always possible. I've done the horrible thing, made a wrapping class and logging every get and set (I've got some stupid keys). 2. The

RE: Measuring Memory Usage

2009-04-21 Thread Olga Khenkin
No. From: memcached@googlegroups.com [mailto:memcac...@googlegroups.com] On Behalf Of Kevin Amerson Sent: Monday, April 20, 2009 9:42 PM To: memcached@googlegroups.com Subject: Re: Measuring Memory Usage I was thinking that as well, but the evictions above

Re: Measuring Memory Usage

2009-04-20 Thread Henrik Schröder
What does the stats command output when you get misses before you think you should? /Henrik On Mon, Apr 20, 2009 at 13:07, tcbarrett tcbarr...@gmail.com wrote: Hi I searched the group for 'measuring memory usage' with no hits. I am trying to determine how much memory my cached data is

Re: Measuring Memory Usage

2009-04-20 Thread Tom Barrett
Here is a dump of the 'stats', apologies for the lack of brevity: $VAR2 = { 'hosts' = { '127.0.0.1:11211' = { 'misc' = { 'bytes' = '2484753',

RE: Measuring Memory Usage

2009-04-20 Thread Olga Khenkin
Hi, When memcached uses all allocated memory, it starts to delete old objects, which may not be expired yet. It deletes the least recently used object from the slab (bucket). These deletes are called 'evictions'. You can see the number of evictions in memcached 'stats' command. You can also use

Re: Measuring Memory Usage

2009-04-20 Thread Kevin Amerson
I was thinking that as well, but the evictions above are 0 - but the bytes used / available seem to indicate items are being evicted; Are evictions incremented if items are expiring? On Mon, Apr 20, 2009 at 10:43 AM, Olga Khenkin o...@metacafe.com wrote: Hi, When memcached uses all allocated