Jump to content

How to get fewer mysql processes?


sarahmei

Recommended Posts

I'm in 1.0.1, and I'm using "jasperctl.sh start" to start up JI and MySQL.

 

It works great, except that it spawns 12 mysql processes, and I don't want that many. If I do "jasperctl.sh stop", they all disappear. The pid file only has one number in it while the server is running.

 

I've looked in the script itself and I don't see where it's spawning a dozen processes - it looks like it's only spawning one. Any idea what's going on here?

 

Thanks,

Sarah

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

To answer my own question -- I don't actually have a dozen MySQL processes. Instead, I have a dozen linuxthreads that ps *thinks* are separate processes. On other systems, MySQL shows up nicely as a single process.

 

The blog post that enlightened me: http://xaprb.com/blog/2006/07/16/how-we-enabled-threading-in-mysql/

 

Post edited by: sarahmei, at: 2006/11/14 00:14

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...