[squid-users] sorry -- RE: Balasan: [squid-users] logfile rotation process

From: pujo mulyono <pudjo26@dont-contact.us>
Date: Thu, 1 Sep 2005 17:34:43 +0700 (ICT)

did you mean that you have two squid on two servers?
probrably causing by heavy background process on
server two then :-)

--- pujo mulyono <pudjo26@yahoo.com> menulis:

> language barrier i guess, sorry then :-) but i'll
> try
> to explain it again.
>
> take a look at your squid.conf files, if you are
> using
> two squid process in your server better you use two
> of
> squid.conf with different filename.
>
> in each of squid.conf set your access log namefile
> different to each other, for squid-one u may use
> name
> access1.log and for squid-two you may use name
> access2.log, same procedure applied to cache log
> with
> name cache1.log and cache2.log, squid PID with name
> squid1.pid and squid2.pid
>
> then restart your squid.
>
> i ran three squid in my server with no problem at
> all
>
> --- lokesh.khanna@accelonafrica.com menulis:
>
> > Sorry , Didn't understand this.
> > Thanks - LK
> >
> > -----Original Message-----
> > From: pujo mulyono [mailto:pudjo26@yahoo.com]
> > Sent: Thursday, September 01, 2005 6:50 AM
> > To: Lokesh Khanna; squid-users@squid-cache.org
> > Subject: Balasan: [squid-users] logfile rotation
> > process
> >
> > it's probably caused by same access.log on the
> same
> > folder.
> >
> > take a try with using two of squid conf, two pid,
> > two
> > cache.log, and two access.log; e.g access1.log for
> > squid1 and access2.log for squid2
> >
> >
> > --- lokesh.khanna@accelonafrica.com menulis:
> >
> > > Hi
> > >
> > > I am running 2 squid servers for my customers.
> > > Server1 handles one group
> > > of customers and server2 hadales 2nd grp of
> > > customers.
> > > Both are running exactly same configuration.
> > > When I do squid -k rotate, I noticed server1
> takes
> > > less time and server
> > > 2 more time.
> > > Below is cache.log file of both.
> > > Why server 2 takes so much time?
> > >
> > > ######################Server 1
> > ####################
> > >
> > > 2005/09/01 06:09:54| 3276800 entries written
> so
> > > far.
> > > 2005/09/01 06:09:54| 3342336 entries written
> so
> > > far.
> > > 2005/09/01 06:09:54| 3407872 entries written
> so
> > > far.
> > > 2005/09/01 06:09:54| 3473408 entries written
> so
> > > far.
> > > 2005/09/01 06:09:54| 3538944 entries written
> so
> > > far.
> > > 2005/09/01 06:09:54| 3604480 entries written
> so
> > > far.
> > > 2005/09/01 06:09:54| 3670016 entries written
> so
> > > far.
> > > 2005/09/01 06:09:58| Finished. Wrote 3672512
> > > entries.
> > > 2005/09/01 06:09:58| Took 7.5 seconds
> (489955.4
> > > entries/sec).
> > > 2005/09/01 06:09:58| logfileRotate:
> > > /cache1/log/access.log
> > >
> > >
> > > #############Server 2#######################
> > >
> > > 2005/09/01 06:12:55| 1245184 entries written
> so
> > > far.
> > > 2005/09/01 06:12:57| 1310720 entries written
> so
> > > far.
> > > 2005/09/01 06:12:58| 1376256 entries written
> so
> > > far.
> > > 2005/09/01 06:13:00| 1441792 entries written
> so
> > > far.
> > > 2005/09/01 06:13:03| 1507328 entries written
> so
> > > far.
> > > 2005/09/01 06:13:04| 1572864 entries written
> so
> > > far.
> > > 2005/09/01 06:13:07| 1638400 entries written
> so
> > > far.
> > > 2005/09/01 06:13:09| 1703936 entries written
> so
> > > far.
> > > 2005/09/01 06:13:18| 1769472 entries written
> so
> > > far.
> > > 2005/09/01 06:13:22| 1835008 entries written
> so
> > > far.
> > > 2005/09/01 06:13:26| 1900544 entries written
> so
> > > far.
> > > 2005/09/01 06:13:28| Finished. Wrote 1933600
> > > entries.
> > > 2005/09/01 06:13:28| Took 110.9 seconds
> (17432.3
> > > entries/sec).
> > > 2005/09/01 06:13:28| logfileRotate:
> > > /cache1/log/access.log
> > > Disclaimer
> > >
> >
>
************************************************************************
> >
> ****************************************************
> > > The information contained in this e-mail, any
> > > attached files, and response threads are
> > > confidential and
> > > may be legally privileged. It is intended solely
> > for
> > > the use of individual(s) or entity to which it
> is
> > > addressed
> > > and others authorised to receive it. If you are
> > not
> > > the intended recipient, kindly notify the sender
> > by
> > > return
> > > mail and delete this message and any
> attachment(s)
> > > immediately.
> > >
> > > Save as expressly permitted by the author, any
> > > disclosure, copying, distribution or taking
> action
> > > in reliance
> > > on the contents of the information contained in
> > this
> > > e-mail is strictly prohibited and may be
> unlawful.
> > >
> > > Unless otherwise clearly stated, and related to
> > the
> > > official business of Accelon Nigeria Limited,
> > > opinions,
> > > conclusions, and views expressed in this message
> > are
> > > solely personal to the author.
> > >
> > > Accelon Nigeria Limited accepts no liability
> > > whatsoever for any loss, be it direct, indirect
> or
> > > consequential,
> > > arising from information made available in this
> > > e-mail and actions resulting there from.
> > >
> > > For more information about Accelon Nigeria
> > Limited,
> > > please see our website at
> > > http://www.accelonafrica.com
> > >
> >
>
************************************************************************
> >
>
******************************************************
> > >
> >
> >
> >
> >
> >
>
________________________________________________________________________
> > _______
>
=== message truncated ===

        

        
                
________________________________________________________
Apakah Anda Yahoo!?
Sekarang dengan penyimpanan 1GB
http://id.mail.yahoo.com/
Received on Thu Sep 01 2005 - 04:34:44 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:02 MDT