BB Unix Network Monitor - Message

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

Re: {bb} unable to contact BBD



In <7eeb9e7f0503091055fe093ef@mail.gmail.com> Ben Pitzer <bpitzer@gmail.com> writes:

>Okay, this is getting a tad ridiculous.  I can cd into $BBHOME/bin and
>run the following:

>./bb <BBDISP IP> "status testhost,domain,com.TEST green Bogus Info"

>...and have it show up.  Why is bbtest-net unable to contact the bb
>host?  Why does this show up in the bbtest entry in BB:

>Test results transmitted                 1110394225.267397        630.123458 

>Cany anybody explain why the test results transmission is taking so
>long?  Port 1984 is listening, but is not terribly active.


What's the load on the box when those results get sent ? How many bbd
processes are running ? Try running a "vmstat 2 300" and watch the 
usr/sys/idle cpu-time distribution and the I/O activity.

bbtest-net dumps a lot of results to the bbd daemon, very
rapidly. This means the bbd daemon forks a lot of child processes, one
to handle each message. If you have some tests that have failed, this
will trigger "page" messages which means even more processes that
start up. 

Since you mentioned that the box doesn't have plenty of memory to
spare, I suspect that your box simply runs out of memory when all of
those messages hit it at once, and then everything slows down.

Does it help if you set BBSLEEPBETWEENMSGS=1000000 in bbsys.local and
restart Hobbit ? This adds a 1000000 microsecs (ie. 1 second) delay
between each combo-message that is sent.


Regards,
Henrik
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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