From owner-freebsd-current@FreeBSD.ORG Mon Sep 3 13:43:58 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 311B216A420 for ; Mon, 3 Sep 2007 13:43:58 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from mail.classis.ru (classis.ru [213.248.60.120]) by mx1.freebsd.org (Postfix) with ESMTP id DEE8B13C457 for ; Mon, 3 Sep 2007 13:43:57 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from citrin (unknown [81.19.65.104]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: citrin.citrin.ru) by mail.classis.ru (Postfix) with ESMTP id BF80812221B1 for ; Mon, 3 Sep 2007 17:29:05 +0400 (MSD) Date: Mon, 3 Sep 2007 17:30:24 +0400 From: Anton Yuzhaninov X-Mailer: The Bat! (v3.99.3) Professional Organization: Rambler X-Priority: 3 (Normal) Message-ID: <372905364.20070903173024@citrin.ru> To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: dovecot kqueue problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2007 13:43:58 -0000 Hello. dovecot-1.0.3 compiled with kqueue support periodically stop to accept connections: Listen queue not empty: Current listen queue sizes (qlen/incqlen/maxqlen) Proto Listen Local Address tcp4 6/0/8 *.143 however kevent return 0 pending event: truss -D -p 71851 0.000000000 SIGNAL 17 (SIGSTOP) 0.000016761 gettimeofday({1188823517.452247},0x525bd0) = 0 (0x0) 0.000015923 gettimeofday({1188823517.452459},0x0) = 0 (0x0) 0.624191428 kevent(8,0x0,0,{},78,{0.623541000}) = 0 (0x0) 0.000016202 gettimeofday({1188823518.077250},0x525bd0) = 0 (0x0) 0.000015644 gettimeofday({1188823518.077458},0x0) = 0 (0x0) 1.000150078 kevent(8,0x0,0,{},78,{0.999542000}) = 0 (0x0) $ uname -a FreeBSD mailsupport.rambler.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #6: Mon Aug 13 17:10:28 MSD 2007 citrin@mailsupport.rambler.ru:/usr/obj/usr/src/sys/MAIL amd64 How I can debug this problem? It may dovecot bug as well as kernel bug. How I can see list of knotes corresponding to given kqueue? I try to see kqueue->kq_knlist (via kgdb), but it always empty, even when dovecot work properly. -- WBR, Anton Yuzhaninov.