From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 09:54:31 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90A91106566B for ; Wed, 2 Apr 2008 09:54:31 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8092F8FC19 for ; Wed, 2 Apr 2008 09:54:31 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 758301CC06E; Wed, 2 Apr 2008 02:54:31 -0700 (PDT) Date: Wed, 2 Apr 2008 02:54:31 -0700 From: Jeremy Chadwick To: Anton - Valqk Message-ID: <20080402095431.GB42925@eos.sc1.parodius.com> References: <47F34F85.4060006@lozenetz.org> <47F35125.3000304@lozenetz.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47F35125.3000304@lozenetz.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: stable@freebsd.org Subject: Re: Jail crontab crashing? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2008 09:54:31 -0000 On Wed, Apr 02, 2008 at 12:25:57PM +0300, Anton - Valqk wrote: > ok, just made a break trough, > when I added cron to /etc/libmap.conf > (here is my libnap.conf: > user# cat /etc/libmap.conf > [httpd] > libpthread.so.2 libthr.so.2 > libpthread.so libthr.so > [cron] > libpthread.so.2 libthr.so.2 > libpthread.so libthr.so > ) > cron stopped crashing. cron isn't a threaded application, so I don't see how this fixed anything. cron doesn't link to any threaded libraries either. Use ldd and see for yourself. > I've wrote an angry mail at sunday morning (GMT+2) about apache > crashing (apache-worker) after a buildworld (by ezjail-admin), and > added the above lines fixed my problem. And you didn't respond to the people who offered to help: http://lists.freebsd.org/pipermail/freebsd-stable/2008-March/041601.html You also didn't provide any details about what you upgraded from/to, or any other information. Chances are you did not rebuild all of your ports when upgrading the OS. The threading libraries change periodically, but do not necessarily change in library revision number (E.g. so.5 --> so.6). Also, why must you run Apache with the worker MPM? I've personally (meaning I'm talking about my experiences, not a general statement) never seen threaded Apache work -- only prefork. By the way, your ktrace isn't going to help much, because I don't think you ran ktrace with the correct arguments. I see a lot of fork() action, which is expected (because that's what cron does!), but no information about the children. You'd be better off using gdb on the coredump and cron, and figuring out where things crashed. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |