BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} unable to contact BBD
In <7eeb9e7f050308144627ee5879@mail.gmail.com> Ben Pitzer <bpitzer@gmail.com> writes:
>I have gotten everything taken care of that I know how to do, and now
>I'm getting this problem in BBOUT:
>Tue Mar 8 17:39:40 2005 fping.sh Tue Mar 8 17:39:40 2005
>bb CONNECTION TO my-bb-host.domain.tld TIMED OUT...
>Tue Mar 8 17:39:40 2005 fping.sh Tue Mar 8 17:39:40 2005 bb CAN'T
>CONNECT TO bbd SERVER @ my-bb-host.domain.tld
>It appears that fping.sh is my culprit here, but I have no idea what
>the deal is. I'm trying to build a BB 1.9e server on Solaris 8.
>bbtest reports 610 seconds taken up in the reporting phase
First, why are you running both bbtest-net (from bbgen, I suppose) and
fping.sh ? bbtest-net has built-in fping support so you'll end up with
two sets of ping-tests.
As for the error you are seeing - how many hosts do you have ? I used
to see this a lot with a Solaris 8 box that just couldn't handle the
sudden reporting of network-test statuses from 2000 hosts. Some things
to check:
* Solaris' default TIME_WAIT period is ridiculous, and causes it to
keep bbd-processes hanging around forever. A workaround is to run
/usr/sbin/ndd -set /dev/tcp tcp_time_wait_interval 30000
* Consider using a tmpfs filesystem for the bbvar/logs/ and
bb/www/html/ directories. This does speed things up, since you
avoid the disk-I/O that is done with every status message.
* Consider using the bbgen "bbproxy" tool as an front-end to your bbd
daemon. bbproxy has a built-in queuing mechanism so it can absorb
bursts of messages and pass them on to bbd at a smoother pace. It
also merges lots of small messages into large combo-messages, which
means fewer connections to your bbd and fewer spawned processes to
handle them.
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