On 03/09/2017 10:24 AM, Matus UHLAR - fantomas wrote: >> On 03/09/2017 09:54 AM, Matus UHLAR - fantomas wrote: >>>>>> Master is not a >>>>>> kid (it is a parent of all kids), the first N kids are workers, the >>>>>> next D kids are diskers, and the last kid is Coordinator. Please >>>>>> see the >>>>>> following wiki section for more details. >>>>>> http://wiki.squid-cache.org/Features/SmpScale#Terminology >> >>>>>> Yes, "1" is the default value for the workers directive. >> >>>>> and this is why I wonder we have three kids, both when "workers" >>>>> commented out and when set to 1. >> >>>> In my earlier paragraph, N is the value of the workers directive. There >>>> are other kids (D diskers and one Coordinator). D is the number of rock >>>> cache_dirs. Both workers and diskers need shared memory and IPC. >>>> >>>> If you want to turn off SMP while using rock store, start Squid with >>>> -N. >>>> When started with -N, there will be a single process playing all four >>>> roles (master, worker, disker, and Coordinator). >> >>> Will running with "workers 1" avoid this issue while using separate >>> processes for diskers? > > > On 09.03.17 10:01, Alex Rousskov wrote: >> No. Disker processes need shared memory to communicate with worker(s). > > I should rephrase my question: > > since aufs is incompatible with SMP and rockstore runs separate diskers, To clarify: Rock store is supported with our without separate disker processes. Rock is SMP-aware, SMP-capable, and nonSMP-capable. All other stores are SMP-unaware and nonSMP-capable. > is running aufs with rock store and safe, when not running with "-N"? Running a combination of AUFS and Rock stores in non-SMP mode may be safe but primary Rock store developers do not test this combination. Running AUFS in SMP mode is unsafe by default but some admins use configuration hacks to make it work for them. Primary Store developers do not test such configurations (or AUFS in general). Running a combination of AUFS and Rock stores in SMP mode is crazy. Alex. _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users