What is the most important factor,which effect squid cacheing.
2nd thing how can me customize my system in kernel and squid that my memory performance is perfect,i mean which r the options in kernel and squid whcih effect squid memory effeciency.
System Engineer
From: "Squid Support (Henrik Nordstrom)"
To: Jim George , Dave Raven
CC: Squid Proxy
Subject: Re: [squid-users] Logdir changes ownership
Date: Sun, 17 Feb 2002 11:53:45 +0100
MIME-Version: 1.0
Received: from [206.168.0.9] by hotmail.com (3.2) with ESMTP id MHotMailBE38D824000C400438A5CEA80009094E0; Sun, 17 Feb 2002 02:59:51 -0800
Received: (qmail 31250 invoked by uid 1007); 17 Feb 2002 10:54:40 -0000
Received: (qmail 31205 invoked from network); 17 Feb 2002 10:54:39 -0000
From squid-users-return-12307-ahmiq Sun, 17 Feb 2002 03:00:41 -0800
Mailing-List: contact [email protected]; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Post:
List-Help:
List-Unsubscribe:
List-Subscribe:
Delivered-To: mailing list [email protected]
Organization: MARA Systems AB
Message-Id: <[email protected]>
X-Mailer: KMail [version 1.3.2]
References: <1013861065.25323.12.camel@linux> <004d01c1b795$02fb0560$3800a8c0@DAVE> <1013941189.28248.37.camel@linux>
In-Reply-To: <1013941189.28248.37.camel@linux>
You should try to find out what it is that changes it back to "root".
It for sure is not Squid.
Regards
Henrik
On Sunday 17 February 2002 11.19, Jim George wrote:
> Thanks Dave,
>
> I've put that in the startup script just above the execution of
> squid.
>
> Jim
>
> On Sun, 2002-02-17 at 09:25, Dave Raven wrote:
> > yes.
> > chown -R -v nobody.nobody /var/squid/logs
> > chmod -R -v 660 /var/squid/logs
> >
> > That should fix your problem.
> >
> > Dave Raven.
> > OpteqSec.
> >
> > ----- Original Message -----
> > From: "Jim George"
> > To: "Dave Raven"
> > Cc: "Squid Proxy"
> > Sent: Sunday, February 17, 2002 11:08 AM
> > Subject: Re: [squid-users] Logdir changes ownership
> >
> > > Dave,
> > >
> > > this is how I start squid at startup.
> > >
> > > /usr/local/squid/bin/squid -s
> > >
> > > This is the error output in /var/log/messages
> > > Feb 9 08:15:19 linux squid[2320]: Cannot open
> >
> > '/var/squid/logs/access.log' for writing. ^IThe parent directory
> > must be writeable by the ^Iuser 'nobody', which is the
> > cache_effective_user ^Iset in squid.conf.
> >
> > > I hope this helps
> > >
> > > Jim
> > >
> > > On Sat, 2002-02-16 at 16:09, Dave Raven wrote:
> > > > Can you not email us the actuall error you get,
> > > > aswell as how you start squid at bootup; and how you normally
> > > > would?
> > > >
> > > > thanks,
> > > > Dave Raven.
> > > > OpteqSec.
> > > >
> > > > ----- Original Message -----
> > > > From: "Jim George"
> > > > To: "Squid Proxy"
> > > > Sent: Saturday, February 16, 2002 3:21 PM
> > > > Subject: Re: [squid-users] Logdir changes ownership
> > > >
> > > > > Dave,
> > > > >
> > > > > I selected to have it run as nobody when I installed it.
> > > > >
> > > > > Also doing chown is what I've had to put in the startup
> > > > > script I now use to start squid.
> > > > >
> > > > > Have you any other suggestions?
> > > > >
> > > > > Jim
> > > > >
> > > > > On Sat, 2002-02-16 at 12:02, Dave Raven wrote:
> > > > > > I suspect you have set squid to run as user nobody.nobody
> > > > > > and it
> >
> > checks
> >
> > > > > > the rights on the log dir's before dropping privilages.
> > > > > >
> > > > > > try chown -R -v nobody.nobody /logdirectory
> > > > > >
> > > > > > Dave Raven.
> > > > > > OpteqSec.
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Jim George"
> > > > > > To: "Squid Proxy"
> > > > > > Sent: Saturday, February 16, 2002 2:04 PM
> > > > > > Subject: [squid-users] Logdir changes ownership
> > > > > >
> > > > > > > I'm sure this will prove to be really stoopid
> > > > > > > but.....When I start
> > > >
> > > > squid
> > > >
> > > > > > > on boot up, obviously it starts under user root,
> > > > > > > however it then
> >
> > exits
> >
> > > > > > > because it wants the loggind directories to be owned by
> > > >
> > > > nobody.nogroup.
> > > >
> > > > > > > What do I need to do to retain ownership as
> > > > > > > nobody.nogroup 'cause
> > > >
> > > > there
> > > >
> > > > > > > is obviously something screwy going on?
> > > > > > >
> > > > > > > Jim
--
MARA Systems AB, Giving you basic free Squid support
Customized solutions, packaged solutions and priority support
available on request