BB Unix Network Monitor - Message

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

Re: {bb} BBOUT filles the filesystem



Quoting Dietmar Felmer (Dietmar.Felmer@ivmed.med.uni-erlangen.de):
> Dear Brothers,
> 
> maybe one of You can help me to stop BBOUT increasing to fast an filling
> the / filesystem (BBHOME=/opt/bb). The problem is that the BBOUT file is
> always open when bbd runs (= all the time) and therefore it can't be
> reduced.  

What about running a script like this daily (or weekly, or whatever) :

#!/bin/sh
/opt/bb/runbb.sh stop
# Wait a little : sometimes BB child processes still run after a stop
# 5 secs is maybe not enough. Just try...
sleep 5
[ something for rotating BBOUT]
/opt/bb/runbb.sh start

[something] could be savelog, logrotate or any script of this kind.

About this : I think it would be nice to have the BBOUT file
*outside* BBHOME. I would vote for a configuration directive
allowing to set something like BBOUT=/var/log/bb.log (or wherever
else your religion tells you to put log files).



--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index