From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 7 21:26:02 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 A622C1065670 for ; Fri, 7 Mar 2008 21:26:02 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id 3D07E8FC14 for ; Fri, 7 Mar 2008 21:26:02 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by mu-out-0910.google.com with SMTP id w9so622936mue.6 for ; Fri, 07 Mar 2008 13:26:00 -0800 (PST) Received: by 10.82.116.15 with SMTP id o15mr4254088buc.11.1204925160561; Fri, 07 Mar 2008 13:26:00 -0800 (PST) Received: by 10.82.185.8 with HTTP; Fri, 7 Mar 2008 13:26:00 -0800 (PST) Message-ID: Date: Fri, 7 Mar 2008 23:26:00 +0200 From: "Vlad GALU" To: "Julian Elischer" In-Reply-To: <47D1B274.6000907@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> <47D1B274.6000907@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 21:26:02 -0000 On 3/7/08, Julian Elischer wrote: > Vlad GALU wrote: > > 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.. > >> > >> > >> > > > > > > > Is this reproducable? Can you make this happen at will? I'll try. So far we haven't been able to trigger it at will, unfortunately :( It just pops out once in a while.. > -- Mahnahmahnah!