From owner-freebsd-questions@FreeBSD.ORG Sun Apr 12 08:15:10 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 2AF2F106566B for ; Sun, 12 Apr 2009 08:15:10 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id EE2DE8FC16 for ; Sun, 12 Apr 2009 08:15:09 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (gate.lan.rachie.is-a-geek.net [192.168.2.10]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id AF2837E818; Sun, 12 Apr 2009 00:15:08 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sun, 12 Apr 2009 10:15:07 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; i386; ; ) References: <49DAC610.6020404@pixelhammer.com> <200904081117.58218.mel.flynn+fbsd.questions@mailing.thruhere.net> <49DE4FE8.8090303@beanfield.com> In-Reply-To: <49DE4FE8.8090303@beanfield.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904121015.07443.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Brent Bloxam Subject: Re: Multiple instances of MySQL 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: Sun, 12 Apr 2009 08:15:10 -0000 On Thursday 09 April 2009 21:43:36 Brent Bloxam wrote: > Mel Flynn wrote: > > Any reason a jail can't be used? This would allow sharing the binary > > using null or union fs, little overhead, yet seperated from host install > > and no maintenance of port installed files, like rc.d/mysql-server. > > Unionfs, unix sockets and flush operations don't like each other from > what I know, so make sure your database directory and socket aren't > going to be located on a unionfs mount and you should be okay. Someone > feel free to correct me if I'm wrong on this, but I definitely haven't > been able to get MySQL to play nice with unionfs Haven't tried. It makes no sense to me to union/null fs /var and /tmp. Just /usr/local to share binaries or /usr in case you also want to share OS binaries, but for a dedicated jail, the gain of that is minimal (OS upgrade doesn't require an extra installworld with jail DESTDIR, but mergemaster still needs to be done and requires most operator attention). -- Mel