What version of memcached is on each machine?

memcached doesn't use processes, it's multi-threaded. Different versions
may have a different number of background threads. In the latest version
there should be at least:

- listener thread (main "process")
- N worker threads
- hash table maintenance thread
- async log thread (for `watch` commands)
- LRU maintainer thread
- LRU crawler thread
- slab rebalancer thread

they're all idle unless they need to do work. LRU maintenance thread is
probably the most active, since it executes LRU maintenance work deferred
from the worker threads. Older versions have some of these threads, but
they were not enabled by default until 1.5.0.

-Dormando

On Sat, 14 Dec 2019, Alireza Sanaee wrote:

> Hello,
> I'm running Memcached on two different machines with different 
> specifications. And I specify the number of worker threads = 4 for both 
> machines. However,
> the number of child processes of the Memcached server is different on two 
> machines. On one of them, I have 6 Memcached child processes, and on the other
> server, I have 10 Memcached child processes. I'm curious to understand how 
> many children processes Memcached is basically spawning other than the worker
> threads, and for what tasks?
>
> I expect the Memcached to spawn only 4 children processes or a certain number 
> of children processes on two machines, however, it seems not true.
>
> Thanks,
> Alireza
>
> --
>
> ---
> 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 memcached+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/memcached/da7f492f-c12d-4763-86fc-d07311d21c5a%40googlegroups.com.
>
>

-- 

--- 
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 memcached+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/memcached/alpine.DEB.2.21.1912141516160.3156%40dskull.

Reply via email to