<div dir="ltr">Hello.<div><br></div><div>We're currently testing squid in SMP mode. One of our services uses Store ID feature. The interesting thing we see is that store_id_program started for every squid process (except main). Process tree looks like this:</div><div><br></div><div><div>> squid</div><div>> \_ (squid-coord-4)</div><div>> | \_ (rewriter_3)</div><div>> | \_ (rewriter_3)</div><div>> \_ (squid-disk-3)</div><div>> | \_ (rewriter_3)</div><div>> | \_ (rewriter_3)</div><div>> \_ (squid-2)</div><div>> | \_ (rewriter_3)</div><div>> | \_ (rewriter_3)</div><div>> \_ (squid-1)</div><div>> \_ (rewriter_3)</div><div>> \_ (rewriter_3)</div></div><div><div><br></div><div>From my brief testing it seems like rewrite is working as expected, but I just wanted to make sure it's ok to see store_id_program started for every child or may be it's sort of a bug.</div><div><br></div><div>May be it should be started only for "worker" or only for "disk"?</div><div><br></div><div>Relevant parts of the config:</div><div><br></div><div><div>> workers 2</div></div><div><div>> store_id_program /mnt/services/squid-url-rewriter/rewriter_3</div><div>> store_id_children 5 startup=2 idle=2 concurrency=10</div></div><div><br></div><div>>From the log file:</div><div><br></div><div><div>2018/01/10 16:56:12 kid4| helperOpenServers: Starting 2/5 'rewriter_3' processes</div><div>2018/01/10 16:56:12 kid2| helperOpenServers: Starting 2/5 'rewriter_3' processes</div><div>2018/01/10 16:56:12 kid3| helperOpenServers: Starting 2/5 'rewriter_3' processes</div><div>2018/01/10 16:56:12 kid1| helperOpenServers: Starting 2/5 'rewriter_3' processes</div></div><div><br></div><div><div>Squid Cache: Version 3.5.27</div><div>Service Name: squid</div><div>configure options: '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/sbin' '--sbindir=/usr/sbin' '--sysconfdir=/etc/squid' '--libdir=/usr/lib' '--libexecdir=/usr/lib/squid' '--includedir=/usr/include' '--datadir=/usr/share' '--sharedstatedir=/usr/com' '--localstatedir=/var' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-epoll' '--enable-removal-policies=heap,lru' '--enable-storeio=aufs,rock' '--enable-delay-pools' '--with-pthreads' '--enable-cache-digests' '--with-large-files' '--with-maxfd=16384' '--enable-htcp'</div></div><div><br></div>-- <br><div class="gmail_signature">With best regards, Ivan Larionov.</div>
</div></div>