On 11/06/2013 9:35 a.m., Alex Rousskov wrote:
> On 06/10/2013 10:44 AM, Philip Munaawa wrote:
>
>> I have configured squid with a rock cache_dir & wccp. When I use
>> wccp2_rebuild_wait on, squid does not send out 'HERE IAM' messages to
>> the router.
>>
>> It appears squid is waiting for the cache_dirs to be rebuilt, however,
>> this seems to go on and on. Perhaps a signal notifying squid that the
>> rebuild is completed is not being propagated correctly to the
>> wccp2HereIam function in wccp2.cc.
>
> Does Squid tell you that the rebuild is over. For example, do you see:
>
>> 2013/06/10 15:29:19.010| Finished rebuilding storage from disk.
> in cache.log for each disker kid? If yes, this sounds like a bug to me.
> Since Rock Store rebuild is done in disker processes, there is probably
> no code to detect that the rebuild is over in the worker process(es)
> that handle WCCP.
>
> If you cannot fix this yourself, consider filing a bug report; perhaps
> somebody will.
>
> Meanwhile, if everything works OK with wccp2_rebuild_wait off, do not
> use wccp2_rebuild_wait on.
If there is no feedback, how does the worker identify when it can start
sending lookups to the disker?
that is the mechanism which the WCCP signal need to be determined by.
Amos
Received on Tue Jun 11 2013 - 04:35:52 MDT
This archive was generated by hypermail 2.2.0 : Wed Jun 12 2013 - 12:00:17 MDT