Search squid archive

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
To: "squid-users@xxxxxxxxxxxxxxx" <squid-users@xxxxxxxxxxxxxxx> 
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






[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux