Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Aug 2004 15:21:53 -0700
From:      Jeremy Zawodny <jzawodn@yahoo-inc.com>
To:        adp <dap99@i-55.com>
Cc:        questions@freebsd.org
Subject:   Re: FreeBSD and MySQL - mysqld eats CPU alive
Message-ID:  <20040801152153.B53045@yahoo-inc.com>
In-Reply-To: <00dd01c47775$0087df40$0200a8c0@THEBOX>; from dap99@i-55.com on Sat, Jul 31, 2004 at 10:08:32PM -0500
References:  <00dd01c47775$0087df40$0200a8c0@THEBOX>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 31, 2004 at 10:08:32PM -0500, adp wrote:
> I recently posted the following message to MySQL discussion list. The
> response there, and the one I keep finding on Google, is that this is a
> long-standing issue betweeen FreeBSD and MySQL. For me this has been
> happening since FreeBSD 4.4.
> 
> I have one site where we are going to have to move to Linux. I would much
> prefer keeping us on FreeBSD, but we just can't afford the downtime anymore.
> Another site is looking at moving to PostgreSQL on FreeBSD.

That's too bad.  MySQL can run quite well on FreeBSD.

> I have several MySQL and FreeBSD installs across a few different sites, and
> I consistently have problems with mysqld. It will begin to eat up all of the
> CPU and eventually become unresponsive (or the machine will just burn). I
> can't seem to manually reproduce this, but given enough time a FreeBSD box
> with mysqld will go down.

Yes, it's FreeBSD's broken DNS libraries.  Add skip-name-resolve to
your my.cnf and the problem will probably go away.

Jeremy
-- 
Jeremy D. Zawodny, <jzawodn@yahoo-inc.com>
Technical Yahoo - Yahoo MySQL Geek
Desk: (408) 349-7878  Cell: (408) 685-5936



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040801152153.B53045>