Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 1998 23:21:04 +1000 (EST)
From:      Simon Coggins <chaos@oz.org>
To:        Ernie Elu <ernie@eis.net.au>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   RE: VM and squid 1.2b22
Message-ID:  <XFMail.980823232104.chaos@oz.org>
In-Reply-To: <199808230955.TAA10997@spooky.eis.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help

On 23-Aug-98 Ernie Elu wrote:
> I have just installed a new proxy server on 2.2.7 running squid 1.2b22.
> 
> With 128MB swap and 64MB ram, squid seems to use up all the swap and die 
> in a few hours, however it only seems to use about 40MB resident memory
> according to top.
> 
> I can't find anything about it on the squid mail list archive, so I was
> hoping that someone on this list may have an insight.

I had a simmilar problem with squid when it was using 128meg of ram, I found
the solution to the problem in the LINT file. I'm not sure if it's the same
problem your having but here is an extract from the LINT file, basicly the
squid process hits 128 meg ram then dies.

#
# Certain applications can grow to be larger than the 128M limit
# that FreeBSD initially imposes.  Below are some options to
# allow that limit to grow to 256MB, and can be increased further
# with changing the parameters.  MAXDSIZ is the maximum that the
# limit can be set to, and the DFLDSIZ is the default value for
# the limit.  You might want to set the default lower than the
# max, and explicitly set the maximum with a shell command for processes
# that regularly exceed the limit like INND.
#
options         "MAXDSIZ=(256*1024*1024)"
options         "DFLDSIZ=(256*1024*1024)"


Regards
Simon

      +---------------------------------------------------------------+
      |  Email: chaos@ultra.net.au, chaos@oz.org, simon@bofh.com.au   |
      |   http://www.ultra.net.au/~chaos   Simon.Coggins@jcu.edu.au   |
      |       Chaos on IRC,    IRC Operator for the OzORG Network     |
      +---------------------------------------------------------------+
---
He had occasional flashes of silence that made his conversation
perfectly delightful.
                -- Sydney Smith


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980823232104.chaos>