[squid-users] Re: squid -z for SMP does not create worker's directories

From: Amm <ammdispose-squid_at_yahoo.com>
Date: Tue, 27 Aug 2013 12:25:24 +0800 (SGT)

Resending the mail. As always my mails DONT always reach the group. Sometimes reaches, sometimes not from past 1-2 months. I reported this earlier too.There some issue with seconday MX record. Also may be there is issue with connectivity with Yahoo. As after 1-2days mail bounces back with timeout error. Anyway, my bug reports follows below. ----- From: Amm <ammdispose-squid_at_yahoo.com> To: "squid-users_at_squid-cache.org" <squid-users_at_squid-cache.org> Sent: Monday, 26 August 2013 4:18 PM Subject: squid -z for SMP does not create worker's directories ---- Hello all, I have following configuration: (For SMP) workers 2 cache_dir ufs /var/spool/squid/worker${process_number} 1000 16 256 when I run "squid -z" to create directories, it creates workers0 directory. i.e. /var/spool/squid/worker0 Apparently this is the main process (process 0) which is supposed to call 2 workers and workers should in turn create their own directories. (or parent should smartly create worker directories) i.e. /var/spool/squid/worker1 and /var/spool/squid/worker2 But in this case, parent itself creates directory which will never be used! Possibly this needs to be fixed. (Or am I missing something?!) Currently workaround I use is simple copy: cp -a  /var/spool/squid/worker0  /var/spool/squid/worker1 cp -a  /var/spool/squid/worker0  /var/spool/squid/worker2 Hopefully that is right workaround. Amm
Received on Tue Aug 27 2013 - 08:28:35 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 27 2013 - 12:00:26 MDT