Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] tooo mqny proccess...



On Wed, Jun 26, 2002 at 02:08:44PM +0900, Nguyen Hung Vu wrote:
> On Wed, 26 Jun 2002, Michael Doughty wrote:
> 
> > On Wed, 26 Jun 2002 10:58:40 +0900 (JST), Nguyen Hung Vu wrote:
> > > Hello all,
> > > 
> > > I am sorry if it was a FaQ.
> > > 
> > > [root@example.com mysql]# /etc/init.d/mysqld status
> > > mysqld (pid 30255 30254 30253 30251) is running...
> > > [root@example.com mysql]# ps -ef | grep mysql
> > > root     30224     1  0 10:54 pts/2    00:00:00 /bin/sh
> > > /usr/bin/safe_mysqld --d
> > > mysql    30251 30224  0 10:54 pts/2    00:00:00 /usr/libexec/mysqld
> > > --defaults-f
> > > mysql    30253 30251  0 10:54 pts/2    00:00:00 /usr/libexec/mysqld
> > > --defaults-f
> > > mysql    30254 30253  0 10:54 pts/2    00:00:00 /usr/libexec/mysqld
> > > --defaults-f
> > > mysql    30255 30253  0 10:54 pts/2    00:00:00 /usr/libexec/mysqld
> > > --defaults-f
> > > [root@example.com mysql]#
> > > 
> > > Why so many mysqld running?
> > 
> > 4 is the default number of processes that safe_mysqld spawns.  Allows
> > multiple connections to the database.
> > 
> > Michael
> > 
> > 
> 
> Thank you Mechael.
> the same thing happened to httpd and named. I dont know if they are OK.
> 

Yep, that is standard. Most daemons that handle requests have a default
number of processes to spawn, and it is generally configurable.

--Matt


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links