|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
51GB /var/dcc/log/
by Bob Pierce
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message My /var/dcc/log/ directory has about 51GB of files that look like this:
8.0K -rw------- 1 root bin 6.6K May 26 05:10 msg.3wbrjV 36K -rw------- 1 root bin 33K May 26 05:57 msg.3wbrJV 12K -rw------- 1 root bin 11K May 27 10:03 msg.3wbRjv 12K -rw------- 1 root bin 9.2K May 27 10:03 msg.3wbRjV ..All msg.[something] Is it ok to get rid of these files? Bob Pierce _______________________________________________ DCC mailing list DCC@... http://www.rhyolite.com/mailman/listinfo/dcc |
|
|
Re: 51GB /var/dcc/log/
by Vernon Schryver
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message > From: Bob Pierce
> My /var/dcc/log/ directory has about 51GB of files that look like this: > 8.0K -rw------- 1 root bin 6.6K May 26 05:10 msg.3wbrjV > 36K -rw------- 1 root bin 33K May 26 05:57 msg.3wbrJV > 12K -rw------- 1 root bin 11K May 27 10:03 msg.3wbRjv > 12K -rw------- 1 root bin 9.2K May 27 10:03 msg.3wbRjV > > ..All msg.[something] > > Is it ok to get rid of these files? The cron job /var/dcc/libexec/cron-dccd is a good thing for DCC clients (systems using dccproc, dccifd, or dccm), because among other things it cleans the main DCC client log directory and the per-user log directories. It uses DBCLEAN_LOGDAYS in /var/dcc/dcc_conf. That cron job required by any DCC server. It also runs dbclean to expire old data in the server databases (both the main DCC server database and the greylist database if greylisting is used by the DCC clients). The cron job also does some sanity checking and restarts the server if it is not running but dcc_conf says it should be. The cron job is mentioned in the DCC installation instructions in the DCC source or http://www.dcc-servers.net/dcc/INSTALL.html Vernon Schryver vjs@... _______________________________________________ DCC mailing list DCC@... http://www.rhyolite.com/mailman/listinfo/dcc |
|
|
Re: 51GB /var/dcc/log/
by Bart Dumon-2
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message On Thu, Sep 17, 2009 at 09:29:57AM -0500, Bob Pierce wrote: > My /var/dcc/log/ directory has about 51GB of files that look like this: > 8.0K -rw------- 1 root bin 6.6K May 26 05:10 msg.3wbrjV > 36K -rw------- 1 root bin 33K May 26 05:57 msg.3wbrJV > 12K -rw------- 1 root bin 11K May 27 10:03 msg.3wbRjv > 12K -rw------- 1 root bin 9.2K May 27 10:03 msg.3wbRjV > > Is it ok to get rid of these files? It's safe to delete msg.* (not tmp.*) but if you have made the logging available for your users somehow, they won't be able to see the logged messages you have deleted. It may be worth looking at DCCM_LOG_AT (or DCCIFD_LOG_AT if you're using dccifd) in dcc_conf, you can increase the logging treshold so that less messages will be logged. It's also possible to decrease the size of logged messages but that's an at compile-time parameter you need to supply. (--with-max-log-size=KB). Also there's an option called DBCLEAN_LOGDAYS which will clean the log directories for you, if you have scheduled cron-dccd ofcourse. You can also log messages in subdirectories (per day/hour/minute) which may just make cleaning up afterwards easier (and faster). regards, bart -- _______________________________________________ DCC mailing list DCC@... http://www.rhyolite.com/mailman/listinfo/dcc |
| Free embeddable forum powered by Nabble | Forum Help |