From owner-freebsd-questions@FreeBSD.ORG Wed Apr 12 06:56:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4D3C16A404 for ; Wed, 12 Apr 2006 06:56:05 +0000 (UTC) (envelope-from valerio.daelli@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2628943D48 for ; Wed, 12 Apr 2006 06:56:04 +0000 (GMT) (envelope-from valerio.daelli@gmail.com) Received: by nproxy.gmail.com with SMTP id m18so1024936nfc for ; Tue, 11 Apr 2006 23:56:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=r4PD1/ba8xrhV/7vnAgRJsOSdO33uQOXpLc+J6IMneE3FL94LKc+N+sjJU9zQcY0PzZ9avRiV6Q/7wZB3p/04D29kSLw0l8c2ykh77jPswkBBHw5ZRWKoIYj82FoVfM5viCStt6HgEG8eoks03gQr65oMq4+6SMve0DOv9hGUMQ= Received: by 10.49.10.15 with SMTP id n15mr1549818nfi; Tue, 11 Apr 2006 23:49:11 -0700 (PDT) Received: by 10.48.220.10 with HTTP; Tue, 11 Apr 2006 23:49:11 -0700 (PDT) Message-ID: <27dbfc8c0604112349o5d4ddda6uafd6fd7f60337d6f@mail.gmail.com> Date: Wed, 12 Apr 2006 08:49:11 +0200 From: "Valerio daelli" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Hang in 5.3, related to syslog-ng 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: Wed, 12 Apr 2006 06:56:05 -0000 Hi all we have a server with 5.3 (latest patches) with twelve jails. One of these jails is a mail server (mail-jail), serving about 300 users, writing a lot of logs to /var/log/maillog. On the same server I installed a jail with syslog-ng (syslog-jail). syslog-ng was configured to listen on the network and write to a named pipe. On the same jail I created a script to read from that named pipe and insert the result to mysql, but I didn't start this script. I was about to start this system of logging, so I modified /etc/syslog.conf in the mail-jail inserting a line like this: mail.* @logger_with_syslog-ng.my.domain then I restarted syslogd on the mail-jail sending a HUP signal. Suddendly the system stopped responding to anything (from ping to console, everything stopped). I rebooted the server turning off the power and deleted that line in syslog.conf. Everything worked. Could it be some issue related to a named pipe? Or pheraps to syslogd? Or syslog-ng? I tried recreating the situation on a test server with 5.4 but everything worked. Sorry if I don't have details but this is a very critical server for us and I can't experiment. Thanks Valerio Daelli