Elsen Marc wrote:
hi list today i get this in /var/log/messages
Feb 1 11:40:04 Mcache squid[1318]: Squid Parent: child process 9501 exited with status 1
Feb 1 11:40:07 Mcache squid[1318]: Squid Parent: child process 9503 started
Feb 1 11:40:07 Mcache squid[1318]: Squid Parent: child process 9503 exited with status 1
Feb 1 11:40:10 Mcache squid[1318]: Squid Parent: child process 9505 started
Feb 1 11:40:10 Mcache squid[1318]: Squid Parent: child process 9505 exited with status 1
Feb 1 11:40:13 Mcache squid[1318]: Squid Parent: child process 9507 started
Feb 1 11:40:13 Mcache squid[1318]: Squid Parent: child process 9507 exited with status 1
Feb 1 11:40:13 Mcache squid[1318]: Exiting due to repeated, frequent failures
Check cache.log for more info.
i google for it but didn't find anything can someone tell me why this happen and how to stop squid using all the partition , coz df -lh showing that squid is using one of cache directory 99%.
how to delete objects from cache dir ? (safe way)
is it simple like rm * ?
Specify appropriate size(s), for the cache dir(s), taking into account available disk (partition) space.
Squid will maintain those sizes automatically and no user intervention is needed.
'rm *' is evil , and will lead to swap failures as then there will be a mismatch with what squid thinks is in the cache and which objects are effectively still there, (info which is maintained in the swap.state file(s))
M.
right, cache partition size is 15gb and we have created ....
cache_dir diskd /cache2/cache1 7500 cache_dir diskd /cache2/cache2 7500
Is this fine? or we have to leave some space on cache2 partition , currently 7500 + 7500 = 15000 all the partition space
what is the good partice?
thanks and regards