[squid-users] worker per cache_dir

Marcel Fossua marcel at guineanet.net
Sat Jun 6 00:26:52 UTC 2015


Hi Amos 
any hints to help me with this issue 
I not able to set more than on cache_dir per worker because
it's alway end up with errors  (but no errors appears if only one cache_dir
is set per worker)


2015/06/06 01:36:09 kid7| Starting eCAP service:
ecap://www.vigos.com/ecap_gzip
2015/06/06 01:36:09 kid7| commBind: Cannot bind socket FD 9 to [::]: (13)
Permission denied
2015/06/06 01:36:09 kid6| commBind: Cannot bind socket FD 21 to [::]: (13)
Permission denied
2015/06/06 01:36:09 kid6| Store rebuilding is 0.00% complete
FATAL: Ipc::Mem::Segment::open failed to shm_open(/squid-cf__metadata.shm):
(2) No such file or directory

Squid Cache (Version 3.5.5): Terminated abnormally.
CPU Usage: 0.016 seconds = 0.016 user + 0.000 sys
Maximum Resident Size: 31344 KB
Page faults with physical i/o: 0
2015/06/06 01:36:14 kid6| Store rebuilding is 43.40% complete
FATAL: Ipc::Mem::Segment::open failed to shm_open(/squid-cf__metadata.shm):
(2) No such file or directory

Squid Cache (Version 3.5.5): Terminated abnormally.
CPU Usage: 0.016 seconds = 0.016 user + 0.000 sys
Maximum Resident Size: 31328 KB
Page faults with physical i/o: 0
FATAL: Ipc::Mem::Segment::open failed to shm_open(/squid-cf__metadata.shm):
(2) No such file or directory

Squid Cache (Version 3.5.5): Terminated abnormally.
FATAL: Ipc::Mem::Segment::open failed to shm_open(/squid-cf__metadata.shm):
(2) No such file or directory

one cache_dir/worker
******************
cache_dir rock /var/spool/squid3/cache10 460000 min-size=1 max-size=31000
max-swap-rate=200  swap-timeout=300

# a 200GB x 8 caches of large ( over 32KB) objects per-worker 
if ${process_number} = 1
cache_dir aufs /cache0  3500000  32 256 min-size=31001 max-size=104857600
endif
if ${process_number} = 2
cache_dir aufs /cache1   3500000  32 256 min-size=31001 max-size=1048576000
endif

if ${process_number} = 3
cache_dir aufs /cache2  3500000  32 256 min-size=31001 max-size=1048576000
endif
if ${process_number} = 4
cache_dir aufs /cache3   3500000  32 256 min-size=31001 max-size=1048576000
endif
if ${process_number} = 5
cache_dir aufs /cache4  3500000  32 256 min-size=31001 max-size=1048576000
endif

2 cache_dir/worker
*****************
#if ${process_number} = 4
#cache_dir aufs /cache6/${process_number}   3500000  32 256 min-size=31001
max-size=1048576000
#cache_dir aufs /cache7/${process_number}   3500000  32 256 min-size=31001
max-size=1048576000
#endif
#if ${process_number} = 5
#cache_dir aufs /cache8/${process_number}   3500000  32 256 min-size=31001
max-size=1048576000
#cache_dir aufs /cache9/${process_number}   3500000  32 256 min-size=31001
max-size=1048576000
#endif


Thanks



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/worker-per-cache-dir-tp4671510p4671571.html
Sent from the Squid - Users mailing list archive at Nabble.com.


More information about the squid-users mailing list