Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2008 13:31:39 +0200
From:      Zbigniew Szalbot <z.szalbot@lcwords.com>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: log size handling
Message-ID:  <487F2D9B.2010407@lcwords.com>
In-Reply-To: <20080717072023.4b9e1d2f.wmoran@potentialtech.com>
References:  <487F2525.3030304@lcwords.com> <20080717072023.4b9e1d2f.wmoran@potentialtech.com>

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

[-- Attachment #1 --]
Hi,

Bill Moran:
> In response to Zbigniew Szalbot <z.szalbot@lcwords.com>:
> 
>> Hello,
>> 
>> I am just wondering if for the software like Apache the log size
>> matters at all. I rotate httpd logs monthly and each domain has its
>> own log. One is over 145 MB in size. Just curious if I can keep it
>> like that or should rotate more often? I have enough space on HD so
>> the log's size is of no concern for me. I guess I am just asking
>> for best practices advice... Thanks!
> 
> There are potential performance issues.  I believe that appending to
> a file becomes more expensive when a file gets very large (which is 
> obviously the scenario with log files)

Thank you Bill - this is what I had in mind - whether appending to a
large file will not be an issue? It is currently about 145MB. By the end
of month it will surely be around 300MB.

> Also, at rotation time, if you're compressing those logs it can be a
> pretty big load to compress 145M.  If you're not compressing and not
> moving the files to another partition when you rotate them, then this
> part probably isn't an issue.

Yes, I am compressing them. Load is not an issue yet but I want to
optimize things that can be optimized. So I guess, rotate more often? I 
like the idea of having one monthly log because it is then processed by 
web stat software so it is easier to submit one than a couple of them.

Thanks!

-- 
Zbigniew Szalbot
www.LCWords.com

[-- Attachment #2 --]
0	*H
010	+0	*H
	00Mw[BjhV0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
080710163457Z
090710163457Z0G10UThawte Freemail Member1$0"	*H
	z.szalbot@lcwords.com0"0
	*H
0
ޯ,}T["^I[#65
C|&$ò2b|s՘{HS.cڙbhk\h)z)q_*:UERgۓ	<L`O?1.;@@8*Uґb 2:^MG'|Wm:s.ʤyFC{k?'&G*o{Z׹	t	,n/?r|u	Ms66ϬeѬ5>92000 U0z.szalbot@lcwords.com0U00
	*H
8*X8A-9ǵM#0w՚ld!Bf(ͬ'K

	NdEP.ӊ^ຸ҅^I
{Ti#ҐbDpk)%/2.00Mw[BjhV0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
080710163457Z
090710163457Z0G10UThawte Freemail Member1$0"	*H
	z.szalbot@lcwords.com0"0
	*H
0
ޯ,}T["^I[#65
C|&$ò2b|s՘{HS.cڙbhk\h)z)q_*:UERgۓ	<L`O?1.;@@8*Uґb 2:^MG'|Wm:s.ʤyFC{k?'&G*o{Z׹	t	,n/?r|u	Ms66ϬeѬ5>92000 U0z.szalbot@lcwords.com0U00
	*H
8*X8A-9ǵM#0w՚ld!Bf(ͬ'K

	NdEP.ӊ^ຸ҅^I
{Ti#ҐbDpk)%/2.0?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1d0`0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAw[BjhV0	+0	*H
	1	*H
0	*H
	1
080717113139Z0#	*H
	14̨Wt
УO~>E0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+71x0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAw[BjhV0*H
	1xv0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAw[BjhV0
	*H
o$hɹ<^V#qeGUPBb}`LptGr4	GW=2\34'G?_*N!"VQfųz1UH !"'%Lp^-NZ
~&NDC{-şO̙`
Tyr@\	zy j N?.No]Vw0Xf&"n)U{ҧsV}
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?487F2D9B.2010407>