From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 7 20:59:00 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40BAC106567A for ; Fri, 7 Mar 2008 20:59:00 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by mx1.freebsd.org (Postfix) with ESMTP id CCE4C8FC2E for ; Fri, 7 Mar 2008 20:58:59 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by fk-out-0910.google.com with SMTP id b27so548614fka.11 for ; Fri, 07 Mar 2008 12:58:58 -0800 (PST) Received: by 10.82.182.1 with SMTP id e1mr4071405buf.21.1204923538187; Fri, 07 Mar 2008 12:58:58 -0800 (PST) Received: by 10.82.185.8 with HTTP; Fri, 7 Mar 2008 12:58:58 -0800 (PST) Message-ID: Date: Fri, 7 Mar 2008 22:58:58 +0200 From: "Vlad GALU" To: "Julian Elischer" In-Reply-To: <47D1AC63.3040701@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47D1AC63.3040701@elischer.org> Cc: freebsd-hackers@freebsd.org Subject: Re: A (perhaps silly) kqueue question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2008 20:59:00 -0000 On 3/7/08, Julian Elischer wrote: > Vlad GALU wrote: > > I see an unusual symptom with one of our in-house applications. The > > main I/O loop calls kevent(), which in turn returns two events with > > EV_EOF error set, always for the same descriptors (they're both socket > > descriptors). As the man page is not pretty clear about it and I don't > > have my UNP copy at hand, I would like to ask the list whether the > > error events are supposed to be one-shot or not. > > Thanks for your kind input. > > > > > You don't specify which version you are running Ah, yes, sorry. Fresh RELENG_7. > > Interstingly I may have seen a similar thing myself, > but fixed it elsewhere. > > the question is a valid one.. > > > -- Mahnahmahnah!