PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > both mysql and mysql_safe is running?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

both mysql and mysql_safe is running?

Réponse
 
LinkBack Outils de la discussion
Vieux 26/05/2008, 05h40   #1
paragasu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut both mysql and mysql_safe is running?

i am using debian etch on my server,
ps ax reveal that, mysql and mysql_safe process running at the same time,,
is it normal?

my workstation using debian sid. executing the same command (ps ax)
show only mysql process are running.

is it ok to disable the mysql_safe process?

  Réponse avec citation
Vieux 26/05/2008, 09h00   #2
Kim Christensen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: both mysql and mysql_safe is running?

paragasu wrote:

> i am using debian etch on my server,
> ps ax reveal that, mysql and mysql_safe process running at the same time,,
> is it normal?
>
> my workstation using debian sid. executing the same command (ps ax)
> show only mysql process are running.
>
> is it ok to disable the mysql_safe process?


mysql_safe is a wrapper script which starts mysqld, and makes sure it
gets restarted if it should die unexpectedly.

You could check process inheritance by appending the "f" flag to ps:

# ps aufx


Regards,
Kim
--
|_|O|_| Kim Christensen
|_|_|O| Public key: http://rac.nu/kchr.asc
|O|O|O| Web home: http://rac.nu
--------------------------------------------------------
() ascii ribbon campain - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 26/05/2008, 12h40   #3
paragasu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: both mysql and mysql_safe is running?

On Mon, May 26, 2008 at 3:51 PM, Kim Christensen <kchr-list-debian@rac.nu>
wrote:

> paragasu wrote:
>
> > i am using debian etch on my server,
> > ps ax reveal that, mysql and mysql_safe process running at the same

> time,,
> > is it normal?
> >
> > my workstation using debian sid. executing the same command (ps ax)
> > show only mysql process are running.
> >
> > is it ok to disable the mysql_safe process?

>
> mysql_safe is a wrapper script which starts mysqld, and makes sure it
> gets restarted if it should die unexpectedly.
>
> You could check process inheritance by appending the "f" flag to ps:
>
> # ps aufx
>
>
> Regards,
> Kim
> --
> |_|O|_| Kim Christensen
> |_|_|O| Public key: http://rac.nu/kchr.asc
> |O|O|O| Web home: http://rac.nu
> --------------------------------------------------------
> () ascii ribbon campain - against html e-mail
> /\ www.asciiribbon.org - against proprietary attachments
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
> do you mean? it is ok to leave it by just like this. and i don't have to do


anything about it?

thanks

  Réponse avec citation
Vieux 26/05/2008, 15h00   #4
Kim Christensen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: both mysql and mysql_safe is running?

paragasu wrote:

> On Mon, May 26, 2008 at 3:51 PM, Kim Christensen <kchr-list-debian@rac.nu>
> wrote:
>
>> paragasu wrote:
>>
>>> i am using debian etch on my server,
>>> ps ax reveal that, mysql and mysql_safe process running at the same

>> time,,
>>> is it normal?
>>>
>>> my workstation using debian sid. executing the same command (ps ax)
>>> show only mysql process are running.
>>>
>>> is it ok to disable the mysql_safe process?

>> mysql_safe is a wrapper script which starts mysqld, and makes sure it
>> gets restarted if it should die unexpectedly.
>>
>> You could check process inheritance by appending the "f" flag to ps:
>>
>> # ps aufx


>> do you mean? it is ok to leave it by just like this. and i don't have

to do
>
> anything about it?
>
> thanks
>


Basically speaking, what mysql_safe does is keeping tabs on the main
mysql process. You're not running two MySQL instances on the same time,
just a small script (mysql_safe) which in turn calls on the main binary
(mysqld*).

This is the Debian way of running MySQL (maybe other distros, too).

Regards,
Kim
--
|_|O|_| Kim Christensen
|_|_|O| Public key: http://rac.nu/kchr.asc
|O|O|O| Web home: http://rac.nu
--------------------------------------------------------
() ascii ribbon campain - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 01h27.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13289 seconds with 12 queries