Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2012 19:36:53 +0100
From:      Attilio Rao <attilio@freebsd.org>
To:        Ian Lepore <freebsd@damnhippie.dyndns.org>,  "Alexander V. Chernikov" <melifaro@freebsd.org>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: syslog(3) issues
Message-ID:  <CAJ-FndCUbDgJr0yvcRBNVdjCezvYDO67M43pgYZum0MygpdBag@mail.gmail.com>
In-Reply-To: <1346638995.1140.575.camel@revolution.hippie.lan>
References:  <CAJ-FndDeNVcEv5HRBMtQ5ZKa3zdWwt5d4fFPaoXnyV3MS31QDw@mail.gmail.com> <1346637044.1140.566.camel@revolution.hippie.lan> <1346638995.1140.575.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 3, 2012 at 3:23 AM, Ian Lepore
<freebsd@damnhippie.dyndns.org> wrote:
> On Sun, 2012-09-02 at 19:50 -0600, Ian Lepore wrote:
>> On Mon, 2012-09-03 at 00:35 +0100, Attilio Rao wrote:
>> > Hi,
>> > I was trying to use syslog(3) in a port application that uses
>> > threading , having all of them at the LOG_CRIT level. What I see is
>> > that when the logging gets massive (1000 entries) I cannot find some
>> > items within the /var/log/messages (I know because I started stamping
>> > also some sort of message ID in order to see what is going on). The
>> > missing items are in the order of 25% of what really be there.
>> >
>> > Someone has a good idea on where I can start verifying for my syslogd
>> > system? I have really 0 experience with syslogd and maybe I could be
>> > missing something obvious.
>>
>> There's a chance this PR about syslogd incorrectly calculating socket
>> receive buffer sizes is related and the patch attached to it could fix
>> it...
>>
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=1604331
>>
>> I filed the PR long ago, if the patches have drifted out of date I'll be
>> happy to re-work them.
>>
>> -- Ian
>>
>
> Oops, I glitched the PR number when I pasted it, this one should be
> correct:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=160433

This patch fixes the problem for me, thanks a lot.

Alexander, do you have any reservation against it? When do you think
the patch can be merged to -CURRENTR?

Thanks,
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein



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