Novell LINUX ENTERPRISE SERVER 11 - ADMINISTRATION Administration Manual page 441

Hide thumbs Also See for LINUX ENTERPRISE SERVER 11 - ADMINISTRATION:
Table of Contents

Advertisement

cache_dir ufs /var/cache/squid/ 100 16 256
The entry cache_dir defines the directory where all the objects are stored on disk.
The numbers at the end indicate the maximum disk space in MB to use and the
number of directories in the first and second level. The ufs parameter should be
left alone. The default is 100 MB occupied disk space in the /var/cache/squid
directory and creation of 16 subdirectories inside it, each containing 256 more
subdirectories. When specifying the disk space to use, leave sufficient reserve disk
space. Values from a minimum of 50% to a maximum of 80% of the available disk
space make the most sense here. The last two numbers for the directories should
only be increased with caution, because too many directories can also lead to per-
formance problems. If you have several disks that share the cache, enter several
cache_dir lines.
cache_access_log /var/log/squid/access.log , cache_log /var/log/squid/cache.log ,
cache_store_log /var/log/squid/store.log
These three entries specify the paths where Squid logs all its actions. Normally,
nothing is changed here. If Squid is experiencing a heavy usage burden, it might
make sense to distribute the cache and the log files over several disks.
emulate_httpd_log off
If the entry is set to on, obtain readable log files. Some evaluation programs cannot
interpret this, however.
client_netmask 255.255.255.255
With this entry, mask IP addresses of clients in the log files. The last digit of the
IP address is set to zero if you enter 255.255.255.0 here. You may protect the
privacy of your clients this way.
ftp_user Squid@
With this, set the password Squid should use for the anonymous FTP login. It can
make sense to specify a valid e-mail address here, because some FTP servers check
these for validity.
cache_mgr webmaster
An e-mail address to which Squid sends a message if it unexpectedly crashes. The
default is webmaster.
logfile_rotate 0
If you run squid -k rotate, Squid can rotate secured log files. The files are
numbered in this process and, after reaching the specified value, the oldest file is
The Proxy Server Squid
427

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 11

Table of Contents