BB Unix Network Monitor - Message

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

Re: {bb} The bb_rename error problem



brent.mccrackin@bell.ca wrote:

Duplicate entries have most definitely been ruled out.

A busy BB Server has been confirmed as part of the problem :-)  However,
with BBGEN everything completes within the BBSLEEP cycle (if it didn't,
then that would be reported in BBOUT as well - which I haven't seen).

BBLOGSTATUS is dynamic, and has been for a very long time.  I forgot to
mention that in my analysis.

You've said that BBVAR/logs/.somehost.test doesn't exist anymore when
the error occurs.

What if BBVAR/logs/.somehost.test doesn't exist *YET* when bb_rename
comes around to try and rename it?

It got created about 6 lines before the rename. The rename is required otherwise when mkbb.sh runs, it may encountered a status being created and its timestamp is not yet changed 30 mins in the future (must do it after the status is written). So a temp file is created and then rename with the correct timestamp.

I suspect that with a very busy I/O
load, the write of the incoming status file to disk hasn't happened or
failed in some manner that wasn't caught, which results in the rename
process subsequently failing.  This also results in the related updates
to the hist and histlogs files being missed.

try bblogs (only bblogs) on a tmpfs (swap filesystem just like /tmp) let us know if that helps

also what's the load avg on that box ?

bye
--
Robert-Andre Croteau    BSD,MOTU
Quest Software, Inc.            Big Brother, Product Architect
http://www.quest.com/                          http://bb4.com/
+1 (514) 238-9374
        Si le bonheur ne s'achete pas alors louez le.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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