Search squid archive

Re: "squid -z" hangs and does not work

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

 



Jackie, it's not a hang but an exit(). I think that nothing is created
because you didn't configure cache_dir.

Look at the code in src/store_dir.cc:

 907 void
 908 StoreHashIndex::create()
 909 {
 910     for (int i = 0; i < Config.cacheSwap.n_configured; ++i) {
 911         if (dir(i).active())
 912             store(i)->create();
 913     }
 914 }

If cache_dir is not configured, nothing will be created. But I think
this worth to have a patch that print out an accurate log. "Creating
Swap Directories" gives users the impression of creating something but
actually it creates nothing.

T

On Mon, Dec 24, 2012 at 1:22 AM, Jackie Zhang <jackie.qq.zhang@xxxxxxxxx> wrote:
> Thanks a lot, Michael!
>
> I installed squid in my home directory. So the user and group should be ok.
>
> Yes, I cleaned the directories according to your suggestion. But squid
> still hangs at the log "kid1| Creating Swap Directories". And it seems
> that nothing happened after I press enter.
>
> Best regards,
> Jackie
>
> On Mon, Dec 24, 2012 at 1:21 AM, Jackie Zhang <jackie.qq.zhang@xxxxxxxxx> wrote:
>> Thanks a lot, Michael!
>>
>> I installed squid in my home directory. So the user and group should be ok.
>>
>> Yes, I cleaned the directories according to your suggestion. But squid
>> still hangs at the log "kid1| Creating Swap Directories". And it seems
>> that nothing happened after I press enter.
>>
>> Best regards,
>> Jackie



-- 
Tianyin XU,
http://cseweb.ucsd.edu/~tixu/


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

  Powered by Linux