[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tons of files in histlogs/host/files dir
- To: hobbit (at) hswn.dk
- Subject: Re: tons of files in histlogs/host/files dir
- From: Asif Iqbal <vadud3 (at) gmail.com>
- Date: Mon, 22 Mar 2010 14:20:23 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=ldAueBv00VCLyKHHbM1ZfwRDtlnNQ8fU0+h2QnU8ZEc=; b=pUYw+Rm+eCIq+ImXHcZNI0zfL0xpyHpTJuqWIpuMiCUgfDljKJDc3pQISIRPsnRmcu XlRgIos9F0b1qc6W0/hyR9NzjB+NTdDed9ETGW8MMT/ILhYVE+KBej0eEnF8tr4bkHPe Y3z8aa/1mXzJjXL1Gh6XmyEI6QgeyZUzjA/O4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=UpMOUKccIJBU+hlMhLiwWfpmPyDYUyzY8JTjQ92nItftj8qpv8h78hQiqV95hHX5rz pSTXPW+jO9PWmiFHIm5xQAkeNG4W2va8UIZ9MFGvNeHQEpEa5X67Xs7pax+dSHKvPVh1 KHW1YF1xlgMBMw92EgZnGgpYrZX9xCHgrGx/8=
- References: <a60f25fc1003220917p49f1f051n13825ff8fe1bd13c (at) mail.gmail.com>
On Mon, Mar 22, 2010 at 12:17 PM, Asif Iqbal <vadud3 (at) gmail.com> wrote:
> I have tons of files like histlogs/host/files/Tue_Jan_26_05:22:32_2010
> with contents just this
>
> clear Files status at Mon Jan 25 23:22:30 2010
> No files checked
>
> Status unchanged in 0.00 minutes
> Message received from 10.240.93.27
> Client data ID 1264483352
>
> They are created every 5 mins like Tue_Jan_26_05:17:32_2010,
> Tue_Jan_26_05:22:32_2010, ..
>
> so for 380 hosts I have 12 of those files every hr.
>
> I have 39945600 histlogs/<380 hosts>/files/Tue_Jan_26_05:22:32_2010
> files in histlogs in 1 yr.
>
> Looking for a suggestion on how not to generate so many files.
>
> Currently I am running it like this
>
> [bbhistory]
> ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
> NEEDS hobbitd
> CMD hobbitd_channel --channel=stachg
> --log=$BBSERVERLOGS/history.log hobbitd_history
>
> Should I disable BBHOSTHISTLOG and/or SAVESTATUSLOG ?
>
> Please advise
I guess I will keep the logs as it is, but use trimhistory to move
them aside at the beginning of the month
>
> --
> Asif Iqbal
> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
>
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?