From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 15:09:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CFAA16A419 for ; Mon, 11 Feb 2008 15:09:58 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from mail.barafranca.com (mail.barafranca.com [67.213.67.47]) by mx1.freebsd.org (Postfix) with ESMTP id 25D1F13C468 for ; Mon, 11 Feb 2008 15:09:58 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from localhost (unknown [172.16.100.24]) by mail.barafranca.com (Postfix) with ESMTP id A0364252D for ; Mon, 11 Feb 2008 15:09:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at barafranca.com Received: from mail.barafranca.com ([172.16.100.24]) by localhost (mail.barafranca.com [172.16.100.24]) (amavisd-new, port 10024) with ESMTP id POnSQkiMuh0q for ; Mon, 11 Feb 2008 15:09:22 +0000 (UTC) Received: from [192.168.200.26] (a213-22-25-165.cpe.netcabo.pt [213.22.25.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.barafranca.com (Postfix) with ESMTP id 661E62526 for ; Mon, 11 Feb 2008 15:09:22 +0000 (UTC) Message-ID: <47B06534.4000102@barafranca.com> Date: Mon, 11 Feb 2008 15:09:40 +0000 From: Hugo Silva User-Agent: Thunderbird 2.0.0.9 (X11/20071213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: syslog-ng2 stuck - ptsopn X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 15:09:58 -0000 Hi list, syslog-ng2 [2.0.3] from ports is hanging on me after minutes of usage with state ptsopn: 5507 root 1 5 0 12832K 1788K ptsopn 1 0:07 0.00% syslog-ng This happens 5-10 minutes after I restart it, or about 3 days if I restart the server and let it run. Running on FreeBSD 7.0-RC1 amd64. The load on the syslog server is moderate, about 200KB/s of UDP packets (load balancer logs). ktrace will stop output when it gets in 'ptsopn', the last thing before that is: 5507 syslog-ng RET read 44/0x2c 5507 syslog-ng CALL open(0x7fffffffc1f0,O_WRONLY|O_APPEND|O_NOCTTY,0x7b) 5507 syslog-ng RET open 11/0xb 5507 syslog-ng CALL write(0xb,0x7fffffffc270,0x80) 5507 syslog-ng RET write 128/0x80 5507 syslog-ng CALL close(0xb) 5507 syslog-ng RET close 0 5507 syslog-ng CALL read(0xa,0x52cda0,0x2c) 5507 syslog-ng RET read 44/0x2c 5507 syslog-ng CALL open(0x7fffffffc1f0,O_WRONLY|O_APPEND|O_NOCTTY,0x7b) Any hints? Best regards, Hugo