Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 10:26:03 +0300 (EEST)
From:      Alexander V Zubchenko <stalker@hermes-comp.zp.ua>
To:        Leo De Geer <leo@ktv.se>
Cc:        Dicky Wahyu Purnomo <dicky.wahyu@1rstwap.com>, <mysql@lists.mysql.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: problem with mysql threads on freebsd
Message-ID:  <20020611102150.X87697-100000@server.hermes-comp.zp.ua>
In-Reply-To: <200206110924.35335.leo@ktv.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Greetings!

On Tue, 11 Jun 2002, Leo De Geer wrote:

> On Tuesday 11 June 2002 08.49, Dicky Wahyu Purnomo wrote:
> > On Tue, 11 Jun 2002 08:36:55 +0200
> >
> > Leo De Geer <leo@ktv.se> wrote:
> > > im not abel to get mysql to use more then one thread on my freebsd
> > > 4.5-stable any one having a klue that wrong?????
> >
> > from what method / tools, you get this information ?
Good question.

> >
> > try mysqladmin -p status
>
> yast by putting load to it. and by using the top.
> then i get al the load on the master pid
Sorry, but, afaic, You don't understand what threads are. Thread is
subprogram, which is executed simultaneously with main program (main
thread) in _same_ process. PID is process parameter and additional
threads don't create additional PID's. Multithreading,
in fact, allow You to not create additional processes (which is
resource-consuming task), but do parallel computations inside _one_
process. So master pid _must_ take all load, if it act as
multithreaded program.

With respect,

Alexander V Zubchenko,		E-Mail: stalker@hermes-comp.zp.ua
System Administrator,		WWW: http://www.hermes-comp.zp.ua/
Hermes-comp,
Ukraine,
Zaporizhzhya,
Geroev Stalingrada 50
phone/fax: +380 612 64-19-72


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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