RE: [squid-users] How often should I restart Squid?

From: Lizzy Dizzy <[email protected]>
Date: Mon, 21 Jun 2004 06:20:14 +0000

Thanks everyone.

I see, but according to Duane,

http://www.onlamp.com/pub/a/onlamp/2004/02/12/squid.html

".....Another thing that can help is to simply restart Squid periodically,
say, once per week. Over time, something may happen (such as a network
outage) that causes Squid to temporarily allocate a large amount of memory.
Even though Squid may not be using that memory, it may still be attached to
the Squid process. Restarting Squid allows your operating system to truly
free up the memory for other uses....."

If a client switches off his computer suddenly, is it equivalent to a
"network outage"? I've read the FAQ, but could'nt ascertain that using the
SWAP space is a bad thing. Does your caching servers uses up 250MB of SWAP?

Thanks

Liz

>From: "Elsen Marc" <elsen@imec.be>
>To: "Lizzy Dizzy" <lizzy_99@hotmail.com>,<squid-users@squid-cache.org>
>Subject: RE: [squid-users] How often should I restart Squid?
>Date: Mon, 21 Jun 2004 07:40:18 +0200
>
>
>
> > Hi Folks,
> >
> > I've got a pretty busy squid proxy server (approx 50-100
> > request /sec).
> >
> > Is there any guideline as to how often do we need to restart
> > squid (e.g.
> > shutdown and start squid)? The reason is that I found out
> > that squid uses up
> > my 2.5GB of RAM leaving only 6MB. Also it uses up half of my 500MB
> > swapspace.
> >
> > When squid started using so much swapspace, does it means
> > that there's many
> > obsolete objects inside the RAM that has been forgotten and
> > thus will not be
> > removed/swapped out?
> >
>
>
> Provided your SQUID box is adequately sized in memory terms (see the
>FAQ);
>you >never< have to restart SQUID.
>
>M.

_________________________________________________________________
Find gifts, buy online with MSN Shopping. http://shopping.msn.com.sg/
Received on Mon Jun 21 2004 - 00:32:11 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:03 MDT