Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2007 23:14:06 -0500
From:      "Bill Marquette" <bill.marquette@gmail.com>
To:        "Max Laier" <max@love2party.net>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: pfsync errors
Message-ID:  <55e8a96c0708272114n42c0d9e7h675d1a9043bf3d80@mail.gmail.com>
In-Reply-To: <200708280223.27279.max@love2party.net>
References:  <55e8a96c0708221242h2d5e7d15q847e6fac7cf60554@mail.gmail.com> <200708230006.32294.max@love2party.net> <55e8a96c0708271710n82428eet8c714b9e8d30a3aa@mail.gmail.com> <200708280223.27279.max@love2party.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/27/07, Max Laier <max@love2party.net> wrote:
> On Tuesday 28 August 2007, Bill Marquette wrote:
> > On 8/22/07, Max Laier <max@love2party.net> wrote:
> > > There are two reasons why we increase the send error counter.  Either
> > > the internal deferred work queue is full or ip_output fails.  Could
> > > you locate "pfsyncstats.pfsyncs_oerrors++" in your source code and
> > > replace either occurrence with a printf().  Maybe use the attached.
> > > This way we will know what exactly fails and if it is ip_output, why.
> >
> > Here's what we get with the patch:
> > pfsync_senddef: ip_output 64
>
> that's EHOSTDOWN ... that's strange.  Are you using syncpeer?

I'll double check this, but with the reboot this box shouldn't be.  I
had configured them to use syncpeer during troubleshooting (we'd had
issues prior to setting this).

> But since the send error still increases it seems as if the internal queue
> is overflowing, too.  This is something that must be fixed as well, but I
> think the EHOSTDOWN from ip_output is more serious.

OK, I'll spend some more time on this in the morning and confirm all
our settings.  It's most interesting to me that those stats came from
the secondary unit, not the primary (which isn't quite as easy to take
down - even more so with our state tables not quite in sync).

--Bill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55e8a96c0708272114n42c0d9e7h675d1a9043bf3d80>