[squid-users] Configuration Suggestions

From: <[email protected]>
Date: Fri, 25 Jan 2002 12:44:42 -0500

Hey everyone,

  I have been given a sweet server to put squid on and setup to become my
companies production proxy (forward proxy only) server. However, I was
wondering what you think of the setup that I am doing, and if you have any
ideas (hardware and/or configuration) that would improve the setup.

IBM Xseries 220 server
1 - P III 1.1 gig processor (dual processor ready)
1280 MB memory
2 36 gig uw scsi drives on an IBM Serverraid 64bit pci raid card.
Segate dat drive on internal Adaptec 7892 scsi card.

I have setup the 2 drives in a raid 1 configuration (mirrored) and have
created a single 36 gig volume on it.
I am running redhat 7.1
I am installing squid-2.4-stable3 from source.
I am installing dansguardian from source.
I have split the 36 gig raid volume into the following partitions:
250 MB /
10 MB /boot
2 GB /home
1 GB /tmp
1 GB /var
4 GB /usr
(all of the above are ext2 partitions)

5 GB squid cache dir 1
5 GB squid cache dir 2
5 GB squid cache dir 3
5 GB squid cache dir 4
(the above are rieser fs partitions with -h r5 on the mkfs)

What do you all think of this setup?

I'm probably going to have to build a new kernel 2.4 kernel and have the
file descriptors raised to at least 8192. Should I raise them higher?
Also, are there any options on 2.4 that I should make sure are enabled/not
enabled when I build my kernel?

Couple of config questions about squid:

1. How much memory should I dedicate to squid with the cache_mem
parameter? I was thinking of 300MB (10MB/per gig of cache * 20gigs of
cache = 200MB). Is this to much, not enough, ok? I thought it should not
hurt to have more than the 200MB squid would want.

2. With this much space and memory, are there any other options that would
need special tuning?

3. I think my cache dirs should be defined as follows:
     cache_dir 20000 24 256 (derived this from the high performance web
caching with squid doc on swelltech.com)

Thanks so much for your advice/help,

Chris
Received on Fri Jan 25 2002 - 10:52:44 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:57 MST