Search squid archive

does rock type deny being dedicated to specific process ??

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

 



hi ,
im trying smp and rock  ,

i followed example of 
http://wiki.squid-cache.org/ConfigExamples/SmpCarpCluster
==========================================

the issue is , 
in squid.conf i have
==================================
dns_v4_first on 
# 3 workers, using worker #1 as the frontend is important
workers 3
cpu_affinity_map process_numbers=1,2 cores=1,3
cpu_affinity_map process_numbers=3 cores=5
#cpu_affinity_map process_numbers=3 cores=6
if ${process_number} = 1
include /etc/squid/frontend.conf
else
include /etc/squid/backend.conf
endif
================================


in  backend.conf i have :
cache_dir rock /rock${process_number} 10000 max-size=32768 swap-timeout=350

the error is 
FATAL: Ipc::Mem::Segment::open failed to shm_open(/squid-rock4.shm): (2) No
such file or directory
FATAL: Ipc::Mem::Segment::open failed to shm_open(/squid-rock3.shm): (2) No
such file or directory
FATAL: Ipc::Mem::Segment::open failed to shm_open(/squid-rock2.shm): (2) No
such file or directory



but
.
.
.
.

if i put  in backend.conf
cache_dir rock /rock1 10000 max-size=32768 swap-timeout=350
cache_dir rock /rock2 10000 max-size=32768 swap-timeout=350
cache_dir rock /rock3 10000 max-size=32768 swap-timeout=350



it work !!!!!!


in conclusion , 



Q1- does that mean that in rock  dir , it must be shared between  squid
processess ???

if not ,

wt could be the solving of the error
FATAL: Ipc::Mem::Segment::open failed to shm_open(/squid-rock3.shm): (2) No
such file or directory


....


note that using aufs dir , no problems there !!



regards





-----
Dr.x
--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/does-rock-type-deny-being-dedicated-to-specific-process-tp4662919.html
Sent from the Squid - Users mailing list archive at Nabble.com.




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

  Powered by Linux