> Hi everybody,What would be best practice to set max connections? We have 
> "memory leak" issue (memory usage grows, eats all available memory,
> process crashes). I use quotes as I am not sure that this is actually memory 
> leak. I still thinking on the way to validate this. One potential
> suspect is memory used for network connections. We have -c 128000. And -m 
> 24576 as memory limiter. the box itself has 48G of memory and dedicated
> to memcache.
>
> Also, more abstract question: is there any way to see how memcache uses 
> memory? like what amount was reserved for connections?
>
> Thank you and Happy Holidays,
> Den

Hi!

What version are you running? If it's not 1.4.17, can you try that version
and see if it still "leaks"? There was at least one bug fix in the last
two versions which could drop a connection structure.

The "stats" output can tell you how much memory is dictated for the slab
cache and for the hash table, but not all types of memory are accounted
presently.

That is a very large number of connections though. Can you provide some
'stats' output? How many connections do you usually have? Does your memory
usage continue to go up while the number of connections is stable, or do
the number of connections slowly increase with memory usage?

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to