Search squid archive

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for response,. But I think I didn't communicated well.
I am not using 2 different squid process on one server.
I am running squid on 2 different servers. Both server have same squid
configuration and both have same hardware also.
Thanks - LK

-----Original Message-----
From: pujo mulyono [mailto:pudjo26@xxxxxxxxx] 
Sent: Thursday, September 01, 2005 11:25 AM
To: Lokesh Khanna
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: Balasan:  RE: Balasan: [squid-users] logfile
rotation process

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@xxxxxxxxxxxxxxxxx menulis:

> Sorry , Didn't understand this.
> Thanks - LK
> 
> -----Original Message-----
> From: pujo mulyono [mailto:pudjo26@xxxxxxxxx] 
> Sent: Thursday, September 01, 2005 6:50 AM
> To: Lokesh Khanna; squid-users@xxxxxxxxxxxxxxx
> Subject: Balasan:  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@xxxxxxxxxxxxxxxxx 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
> >
>
************************************************************************
>
******************************************************
> > 
> 
> 
> 
> 		
>
________________________________________________________________________
> _______
> Apakah Anda Yahoo!?
> Lelah menerima spam? Surat Yahoo! mempunyai
> perlindungan terbaik
> terhadap spam.
> http://id.mail.yahoo.com/ 
> 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
>
************************************************************************
******************************************************
> 



		
________________________________________________________________________
_______
Apakah Anda Yahoo!?
Lelah menerima spam? Surat Yahoo! mempunyai perlindungan terbaik
terhadap spam.
http://id.mail.yahoo.com/ 
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
******************************************************************************************************************************


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux