Results 1 to 2 of 2

Thread: optimal settings in /etc/squid3/squid.conf

  1. #1
    Join Date
    Aug 2006
    Beans
    462
    Distro
    Ubuntu 11.04 Natty Narwhal

    optimal settings in /etc/squid3/squid.conf

    hi

    I have installed Squid3 for about 500 users and I'm looking for optimal settings in /etc/squid3/squid.conf, to get max performance.
    It would be great, if someone can post his /etc/squid3/squid.conf.

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: optimal settings in /etc/squid3/squid.conf

    I manage a cache for about 250 users. Pretty much all the settings are the defaults. We're running it on a dual-Xeon machine with 8 GB of RAM, so performance is never an issue. We even use SquidClamAV to scan every downloaded object for viruses with no obvious slow downs. We also use a lot of ACLs, including the entire "malware block list." All told there are over 20,000 separate ACLs. Squid still never misses a beat. The machine also performs a number of other tasks like scanning inbound mail with MailScanner and hosting my client's DNS and web sites.

    The only things I changed from the default (CentOS) configuration were expanding the cache size and permitting more file descriptors:

    Code:
    cache_dir ufs /var/spool/squid 10000 16 256
    max_filedesc 16384
    A search for "optimizing squid" brings up a lot of articles.
    Last edited by SeijiSensei; November 9th, 2013 at 07:07 PM.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •