BB Unix Network Monitor - Message

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

Re: {bb} unable to contact BBD



Okay, well, I've got the fping.sh problem resolved, but the overall
problem remains:

Wed Mar  9 12:33:06 2005 bbd CONNECTION TO my-bb-server.domain.com TIMED OUT...
Wed Mar  9 12:33:06 2005 bbd CAN'T CONNECT TO bbd SERVER @
my-bb-server.domain.com

The tcp_time_wait_interval is at 30000, so that's not causing it,
either.  I'm not sure about the tmpfs directories, but given the
scripts that I have to run, I can't really spare the memory for that
particular solution.  I can look into the bbproxy piece, but I'm not
sure if that's something I can implement or not.

Any more ideas would be greatly appreciated.

Regards,
Ben Pitzer



On Tue, 8 Mar 2005 22:58:23 +0000 (UTC), Henrik Storner
<henrik-bb@hswn.dk> wrote:
> 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.
>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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