[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tons of files in histlogs/host/files dir
- To: hobbit (at) hswn.dk
- Subject: tons of files in histlogs/host/files dir
- From: Asif Iqbal <vadud3 (at) gmail.com>
- Date: Mon, 22 Mar 2010 12:17:47 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=hOwj0fvPakixkPDLdp8SRp4vLo9MvLAURKugl0b+ljI=; b=gjUlfHx2MOwEKzhgjlRlDD+q7zwLIBLIB3g2EcRNr1979qWvittZ117QTvVIfZ6IJg K29y1pgXtlyu2lj0x7uJUVkczihuUXwnx/e83xFH8BJPDhNhlS75qGklLiJrrcPmSTzC c1ePQQFkqlHWhEwKqyvhRuRQIYY3fIUD0+R50=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=XWYgU3pDTtw9/NUwdw5BA8gh6v9li1kPkGT+/Nj/Fubl7uLjBxz/eb4iMovQ+bG5EH 1b9SXYPh8QYeVnjrkWOxgRRfDBNew6LPMm1XGeBEPRn8hvglqQGA3gOY5To8kabpJj/r ejE2bFoQbdx3FgFISySyPedAPAQOLnIxfqMRY=
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
--
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?