From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 2 13:05:02 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74E0416A4CE; Mon, 2 Aug 2004 13:05:02 +0000 (GMT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D75343D58; Mon, 2 Aug 2004 13:05:02 +0000 (GMT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id i72D4X3w012498; Mon, 2 Aug 2004 09:04:33 -0400 (EDT) Date: Mon, 2 Aug 2004 09:04:33 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Martin Blapp In-Reply-To: <20040802133701.V27692@cvs.imp.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org cc: questions@freebsd.org Subject: Re: Solution: FreeBSD and MySQL - mysqld eats CPU alive X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 13:05:02 -0000 On Mon, 2 Aug 2004, Martin Blapp wrote: > > Hi all, > > We have many Mysql's running here, and just to tell you, there > are fixes/workarounds for the behaviour you see: > > FreeBSD 4.8 / 4.9 / 4.10 : > -------------------------- > > Compile port with WITH_LINUXTHREADS=YES or remove tcpwrappers > support manually from the build if it hangs with libc_r. Use IP adresses for > master/slave configurations in my.cnf. On problem here is that getnamebyhost() > is not threadsafe. This produces the strange errors you see. Isn't tcpwrappers support broken due to gcc compile options? Or was that only in -current? -- Dan Eischen