PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : cache grösse von squid??



16.02.01, 16:39
Ich sage es ja immer wieder ...

Wer lesen kann, ist klar im Vorteil ;o)

Nix für ungut ihr da draußen. Ich weiss, die squid.conf ist echt ein ziemlicher Brocken!!!

Gruss ViiJay..

17.02.01, 00:10
hi mal wieder.

Wo stelle ich die cache-grösse von squid ein?

Ist das diese Zeile:

cache_dir /var/squid/cache 100 16 256

ist die 100 der Platz, den der Cache auf der Platte verbraten darf??

have a lot of fun..

Michael

modernart
17.02.01, 00:30
Hallo Seppl,

genau so ist es!


# -----------------------------------------------------------------------------

# TAG: cache_dir
# Usage:
#
# cache_dir Directory-Name Mbytes Level-1 Level2
#
# You can specify multiple cache_dir lines to spread the
# cache among different disk partitions.
#
# 'Directory' is a top-level directory where cache swap
# files will be stored. If you want to use an entire disk
# for caching, then this can be the mount-point directory.
# The directory must exist and be writable by the Squid
# process. Squid will NOT create this directory for you.
#
# If no 'cache_dir' lines are specified, the following
# default will be used: /var/squid/cache.
#
# 'Mbytes' is the amount of disk space (MB) to use under this
# directory. The default is 100 MB. Change this to suit your
# configuration.
#
# 'Level-1' is the number of first-level subdirectories which
# will be created under the 'Directory'. The default is 16.
#
# 'Level-2' is the number of second-level subdirectories which
# will be created under each first-level directory. The default
# is 256.
#
#cache_dir /var/squid/cache 100 16 256



Es steht ja auch im Kommentar.

Gruß