Re: [squid-users] squid child process extended

From: forgetful tan <forgetful_tan@dont-contact.us>
Date: Tue, 01 Feb 2005 16:26:47 +0800

Askar wrote:

> 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

there are other disk space usage in the cache_dir, for example the
swap.state and it's backup files. In my exprience, 90% is a good value.
and you don't have to set 2 diskd in the same physical disk. Try to use
two small disk instead of a large one. That would give you better disk
throughput.

> what is the good partice?
>
> thanks and regards
>
>
>
Received on Tue Feb 01 2005 - 01:28:21 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:01 MST