Search squid archive

Re: Squid Accellerator for CD/DVD ISO Mirror

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

 



On Fri, Apr 13, 2007, Brian Elliott Finley wrote:

> I have a tentative squid configuration that includes two local
> independent 72G disks for cache on each machine, and the following
> relevant details.  I'm pretty sure I'm way off on the object size stuff:
> 
>     cache_mem 1000 MB
>     maximum_object_size 5120000 KB
>     maximum_object_size_in_memory 1024000 KB
>     cache_dir aufs /var/spool/squid/cache1 51200 16 256
>     cache_dir aufs /var/spool/squid/cache2 51200 16 256
>     httpd_accel_host localhost
>     httpd_accel_single_host on
>     httpd_accel_uses_host_header on

Squid will be pretty horrible at caching those large ISOs in memory at the moment.
Your best bet will be to set cache_mem relatively low (couple hundred megabytes),
the max obj size in memory being low (megabyte or two); and rely on OS disk caching.

Use Squid-2.6; and read the release notes and FAQ for the directive changes.
That replaces the httpd_* lines above that were used for squid-2.5 and earlier.



Adrian


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

  Powered by Linux