From owner-freebsd-questions@FreeBSD.ORG Wed Jun 3 10:41:37 2009 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 DB2951065670 for ; Wed, 3 Jun 2009 10:41:37 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id 46EBE8FC14 for ; Wed, 3 Jun 2009 10:41:36 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: by ewy8 with SMTP id 8so6064207ewy.43 for ; Wed, 03 Jun 2009 03:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:mail-followup-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :x-operating-system; bh=4fbQVh3p1zMWFyK+wRusMtHlhPc2etNJE4aKYWM2EZQ=; b=QIZaxqXo7lsDxSU5KmWR7wuE4+QTVlCBGxTRhaIaj284qt7S1jZTe8o967UDCSwdIJ R1Q+bkeW05Z0DdlG9rgGi4hyrLEJOsEHVbYjl+YGsRUYGLQQaLC9sP1B4P0DYM6rimwm 5OPYnkt7fxivO5czucqe04dz+P0wddw6wfTsE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-operating-system; b=TwXNxJvcSDzRgYEw4TJ7j1+DIjWwfWQu6pSfhVPCgrFBcZ3KZ8gzn2gwIMF1cXf8PP ISwnffDqrirpY501XH42AtFYEIyRAOCm4JxH1qpQ6NYhEueYPDFfctBnOK3NYv4g855O DjLnOJXwIVwPEIwUi+TpHofNr8KHJ0J+FJnsM= Received: by 10.210.39.8 with SMTP id m8mr6306560ebm.76.1244025696165; Wed, 03 Jun 2009 03:41:36 -0700 (PDT) Received: from blackmesa ([77.66.153.29]) by mx.google.com with ESMTPS id 11sm12613636ewy.74.2009.06.03.03.41.34 (version=SSLv3 cipher=RC4-MD5); Wed, 03 Jun 2009 03:41:35 -0700 (PDT) Received: by blackmesa (sSMTP sendmail emulation); Wed, 3 Jun 2009 14:41:31 +0400 Date: Wed, 3 Jun 2009 14:41:31 +0400 From: Jeff Laine To: Erik Norgaard Message-ID: <20090603104131.GA40064@free.bsd.loc> Mail-Followup-To: Jeff Laine , Erik Norgaard , freebsd-questions@freebsd.org References: <20090602194756.GB43583@free.bsd.loc> <4A258935.7090708@locolomo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A258935.7090708@locolomo.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 Cc: freebsd-questions@freebsd.org Subject: Re: cyrus-imapd spawning multiple processes 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, 03 Jun 2009 10:41:38 -0000 On Tue, Jun 02, 2009 at 10:19:01PM +0200, Erik Norgaard wrote: > Jeff Laine wrote: > >The troublemaker is the cyrus. It starts and opens it's sockets, but > >whenever > >I try to establish a connection to pop3 or imap ports (i.e. via telnet or > >cyradm) cyrus goes nuts and spawns child processes in endless manner, > >trashing logs with this: > > > >>tail /var/log/debug.log > > > >Jun 2 23:27:35 free master[49269]: about to exec > >/usr/local/cyrus/bin/pop3d > >Jun 2 23:27:35 free master[43639]: process 49269 exited, status 1 > >Jun 2 23:27:35 free master[49270]: about to exec > >/usr/local/cyrus/bin/pop3d > >Jun 2 23:27:35 free master[43639]: process 49270 exited, status 1 > >Jun 2 23:27:35 free master[49271]: about to exec > >/usr/local/cyrus/bin/pop3d > >Jun 2 23:27:35 free master[43639]: process 49271 exited, status 1 > >Jun 2 23:27:35 free master[49272]: about to exec > >/usr/local/cyrus/bin/pop3d > >Jun 2 23:27:35 free master[43639]: process 49272 exited, status 1 > >Jun 2 23:27:35 free master[49281]: about to exec > >/usr/local/cyrus/bin/pop3d > >Jun 2 23:27:35 free master[43639]: process 49281 exited, status 1 > >... > > > >...until I stop the master process. > > It seems that when you try to connect with pop3 a child process is > spawned as it should, but it dies unexpectedly so a new is spawned. > Could it be something as simple as permissions to access the mailbox files? > > Rather than relying on log files, try to launch the master manually with > the -D flag, it may give you a more verbose output. > > >I tried both cyrus-imapd23 and 22 with default configurations but it > >gives the same problem every time. > > > >I have similar configuration on 6.4-RELEASE without such troubles. > > Similar but not the same? Sounds like you should review again your > config files, also, the versions of cyrus-imapd on your working > installation, is that the same as the new one? Consider posting your > configs in next post. > > > BR, Erik Thanks for your reply, Eric. Running master in debugging mode helped to find out that I had 640 permissions on libdb* files. Doh. Thanks! -- Best regards, Jeff