Squid cache size? (was Linux firewall vs Windows and Hardware based firewalls)

Ask a Question related to Debian, Design and Development.

  1. #1

    Default Squid cache size? (was Re: Linux firewall vs Windows and Hardware based firewalls)

    on Sun, Aug 03, 2003 at 08:24:14PM +0100, Pigeon (jah.pigeon@ukonline.co.uk) wrote:
    > On Sat, Aug 02, 2003 at 09:18:22PM -0700, Paul Johnson wrote:
    > > On Fri, Aug 01, 2003 at 06:14:12PM +0100, Pigeon wrote:
    > > > In order to make it work, I didn't have to touch anything in squid's
    > > > own config, just put appropriate gateway entries in the machines'
    > > > /etc/network/interfaces and proxy entries in my browser's proxy config.
    > >
    > > Well, if you've got a beefy gateway, you could move the adzapping
    > > squid there, then use iptables to make it a transparent proxy and save
    > > yourself the trouble of having to point everything at the proxy.
    >
    > So, given that squid-on-a-firewall is apparently a negligible security
    > risk, this is all about ease of configuration, rather than performance
    > once configured? Cool, I know what I'm dealing with now.
    >
    > The "new" gateway is a 120MHz Pentium with 40MB RAM, which should just
    > about handle squid/adzapper. Previously I was using a 600MHz/128MB
    > box, which ended up having loads of other services on it to make good
    > use of its capacity, hence the decision to move the security function
    > to a separate box.
    Incidentally, how much space are you dedicating to your Squid cache? I
    know that this can't be assigned directly, so either the segment size,
    or net use (du -s on cache) would be useful.

    Peace.

    --
    Karsten M. Self <kmself@ix.netcom.com> [url]http://kmself.home.netcom.com/[/url]
    What Part of "Gestalt" don't you understand?
    Windows Refund Day II: fight for your right to refund
    [url]http://www.windowsrefund.net/[/url]

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQE/Liw7efG8443k044RAv56AJ9nmHfQ+zqwkH4T/FVRxtR3Agk9UQCeLNhA
    N+UDkIhLE0S7A6ARpM0vmfY=
    =aPJB
    -----END PGP SIGNATURE-----

    Karsten M. Self Guest

  2. Similar Questions and Discussions

    1. Device-based or User-based Windows CALs?
      Windows licensing mode, Per User or Per Device Mode Per Server Mode, are you using? Any help or insight would be appreciated. Kind Regards -SR
    2. PDE Cache Size
      Hello, I have a problem with the PDE cache (at least I think that I have). I'm using XP, VS 2003, Acrobat 7.0.8, Acrobat Plugin SDK. My...
    3. Cache a user control based on a Property in the code behind.
      I have a user control that is placed on every page to provide a menu system, logout/login buttons etc. This contect varies in depending on the...
    4. Linux firewall vs Windows and Hardware based firewalls
      Hello all, I have to put forward an argument to management regarding setting up a firewall on some of our clients networks. What are the...
    5. hardware profiles in Windows XP
      If you're looking for an easy way to swap IP addresses/configs, you have a couple of options. The first is to use the built in tools, and the...
  3. #2

    Default Re: Squid cache size? (was Re: Linux firewall vs Windows and Hardware based firewalls)

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On Mon, Aug 04, 2003 at 10:49:47AM +0100, Karsten M. Self wrote:
    > Incidentally, how much space are you dedicating to your Squid cache? I
    > know that this can't be assigned directly, so either the segment size,
    > or net use (du -s on cache) would be useful.
    A gigabyte does pretty nicely for my users.

    - --
    .''`. Paul Johnson <baloo@ursine.ca>
    : :' : proud Debian admin and user
    `. `'`
    `- Debian - when you have better things to do than fix a system
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQE/LjYgJ5vLSqVpK2kRAlHoAKCGXXdLoDg7Df5hn7mGG5mzwJ6dsg CfQiMQ
    cH79lyswm6LOjD2eDS9hptE=
    =yHAj
    -----END PGP SIGNATURE-----


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    Paul Johnson Guest

  4. #3

    Default Re: Squid cache size? (was Re: Linux firewall vs Windows and Hardware based firewalls)

    On Mon, Aug 04, 2003 at 10:49:47AM +0100, Karsten M. Self wrote:
    >
    > Incidentally, how much space are you dedicating to your Squid cache? I
    > know that this can't be assigned directly, so either the segment size,
    > or net use (du -s on cache) would be useful.
    Currently (offline) /var/spool/squid is 109340kB; /var is a 1.25GB
    partition with just over 1GB free. I've set up a script to run
    while [ I'm online ]; do sleep 30; du -sk /var/spool/squid; done
    into a log file, and I'll send you a summary of the results (or
    the whole thing if you want :-) ) offlist once it's accumulated a
    reasonable amount of data. Most times I connect, however, I'm only
    on for a couple of minutes and only visit one or two sites and fetch
    mail, so it might be a while before I've done enough lengthy browsing
    sessions to produce useful data.

    As far as memory usage goes, I haven't played with the settings (yet),
    so they're all at their default installation values (cache_mem 8MB,
    etc.) The machine Squid's on at the moment has 128MB RAM and 0.75GB
    swap, so I might find it worthwhile to bump some of the settings up a
    bit.

    --
    Pigeon

    Be kind to pigeons
    Get my GPG key here: [url]http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F[/url]

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.0.6 (GNU/Linux)
    Comment: For info see [url]http://www.gnupg.org[/url]

    iD8DBQE/LuwpUxADjyHGH38RAgTOAJ4+LOlUKS8qw0iu0D+CXj6GSKmDTw Cgr+6e
    KNuiNSexQFqK/gu5Cp3hY8E=
    =BfBf
    -----END PGP SIGNATURE-----

    Pigeon Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139