Search squid archive

Re: What is the max number of Squirm redirect_children?

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

 



Thanks Amos.


> As for the title question: You are the only one who knows that. It depends
> entirely on how much RAM your system has and how much is being used (by
> everything running). The number which can run on your system alongside Squid
> and the OS and everything else without causing the system to swap.

The server on which Squid runs has about 3 Gb of RAM and sports a 3
Ghz processor.
I'm testing it right now with no network connection (I can't do live
tests for the moment).  Spawning 80 instances of Squirm makes the
machine crawl for a few minutes, but eventually everything becomes
reusable and there are no page-ins/page-outs, according to vmstat.


>> Squid Cache (Version 3.1.7): Terminated abnormally.
>
> Please try a more recent 3.1 release. We have done a lot towards small
> efficiencies this year.

Unfortunately I can't upgrade right now, but I hope I'm able to do it soon.


> I'd also look at what Squirm is doing and try to reduce a few things ...
>  * the number of helper lookups. With url_rewrite_access directive ACLs
>  * the work Squid does handling responses. By sending empty response back
> for "no-change", and using 3xx redirect responses instead of re-write
> responses.
>
> You may also be able to remove some uses of Squirm entirely by using
> deny_info redirection.

I use Squirm uniquely to force SafeSearch on Google via these regex patterns:
regexi ^(http://www\.google\..*/search\?.*) \1&safe=active
regexi ^(http://www\.google\..*/images\?.*) \1&safe=active

Hmmm... now I am wondering whether I could achieve the same effect
through a Perl script to call via redirect_program...


Thanks for your time, and best regards,


L.



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

  Powered by Linux