From: Bastian Balthazar Bux <BastianBalthazarBux@pnpitalia.it>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Trouble with mysql
Date: Thu, 01 Sep 2005 12:03:49 +0200 [thread overview]
Message-ID: <4316D205.1070108@pnpitalia.it> (raw)
In-Reply-To: <1125535194.9939.1.camel@baby.espersunited.com>
Michael Sullivan wrote:
> On Wed, 2005-08-31 at 18:04 -0500, Paul Maszy wrote:
>
>> You shouldnt have restarted.
>>
>> mysql is already starting on boot up. It showing that many mysql
>>daemons is normal and ok.
>>
[snip]
>
>
> I ran /etc/init.d/mysql stop and it stopped without error - all of them.
> I ran /etc/init.d/mysql start and it started again - now there are a
> whole lot of them in the ps listing, but I can connect with the mysql
> client. It seems to be fixed for now..
>
>
Just in case doubts are still there look at the output of "ps fax" that
show a tree of processes:
breakall # ps fax | grep mysql
30560 pts/0 S+ 0:00 \_ grep mysql
7504 ? Ss 0:00 /bin/sh /usr/bin/mysqld_safe [...]
7542 ? S 0:00 \_ /usr/sbin/mysqld --defaul[...]ck
7543 ? S 0:00 \_ /usr/sbin/mysqld --de[...]d.sock
7544 ? S 0:00 \_ /usr/sbin/mysqld [...]ysqld.sock
7545 ? S 0:00 \_ /usr/sbin/mysqld [...]ysqld.sock
[.....................................................................]
7565 ? S 0:00 \_ /usr/sbin/mysqld [...]ysqld.sock
7583 ? S 0:02 \_ /usr/sbin/mysqld [...]ysqld.sock
there is "mysqld_safe" that is a shell script, it's only a wrapper
around "mysqld" the real daemon.
mysql is a threaded application, and ps show all it's threads.
Just a hint, try to *avoid* "kill -9" and use a simply "kill" or "pkill"
if it's possible.
ah maybe that on other system you can't see all the threads with "ps",
that's nothing to worry about, probably that box is using "nptl" .
Ciao
--
gentoo-user@gentoo.org mailing list
prev parent reply other threads:[~2005-09-01 10:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-31 20:52 [gentoo-user] Trouble with mysql Michael Sullivan
2005-08-31 21:20 ` Eric Crossman
2005-08-31 21:29 ` Michael Sullivan
2005-08-31 21:37 ` Tim Igoe
2005-08-31 21:52 ` Michael Sullivan
2005-08-31 23:04 ` Paul Maszy
2005-09-01 0:39 ` Michael Sullivan
2005-09-01 10:03 ` Bastian Balthazar Bux [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4316D205.1070108@pnpitalia.it \
--to=bastianbalthazarbux@pnpitalia.it \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox