Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2004 14:12:27 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Kyle Mott <kyle@xraided.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Mysql Problems
Message-ID:  <20040609141031.M41595@carver.gumbysoft.com>
In-Reply-To: <000301c44deb$4a78f1b0$1414a8c0@kyle>
References:  <000301c44deb$4a78f1b0$1414a8c0@kyle>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 8 Jun 2004, Kyle Mott wrote:

>
> I've now done buildworld twice, to no avail; for some reason, every 1-3
> minutes a new mysql process is started, for which looks like no apparent
> reason. Mysql on this machine is used very rarely, though it does get
> checked by Nagios regularly.

MySQL forks a child (or starts a new linuxthread depending on how its
configured) for each connection. The Nagios check would cause the new
process to be spawned. They should just exit, though. Check 'mysqladmin
processlist' or 'show processlist;' from the monitor to see who's
connected and what they're doing.

Its also possible that mysql will keep threads around once they've been
used to avoid exiting & respawning threads constantly. I haven't run MySQL
4.x and looked at it that closely.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



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