
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 that 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
787
Содержание LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007
Страница 1: ...SUSE Linux Enterprise Server www novell com 10 May 11 2007 Installation and Administration...
Страница 14: ......
Страница 19: ...Part I Deployment...
Страница 20: ......
Страница 60: ......
Страница 128: ......
Страница 243: ...Part II Administration...
Страница 244: ......
Страница 274: ......
Страница 312: ......
Страница 348: ......
Страница 380: ......
Страница 381: ...Part III System...
Страница 382: ......
Страница 438: ......
Страница 452: ......
Страница 478: ......
Страница 486: ......
Страница 498: ......
Страница 512: ......
Страница 558: ......
Страница 559: ...Part IV Services...
Страница 560: ......
Страница 652: ......
Страница 670: ......
Страница 742: ......
Страница 754: ......
Страница 796: ......
Страница 817: ...Part V Security...
Страница 818: ......
Страница 858: ......
Страница 886: ......
Страница 910: ......
Страница 911: ...Part VI Troubleshooting...
Страница 912: ......
Страница 924: ......