Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2004 16:06:12 -0700 (MST)
From:      "Kris Gale" <kris-fbsdcur@asn.net>
To:        freebsd-current@freebsd.org
Subject:   Re: MySQL with KSE -- Unstable?
Message-ID:  <54758.68.3.131.72.1075849572.squirrel@mail.asn.net>
In-Reply-To: <1075842770.23952.15.camel@lanshark.dmv.com>
References:  <54647.68.3.131.72.1075836867.squirrel@mail.asn.net> <1075842770.23952.15.camel@lanshark.dmv.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Ran into a similar situation when I used libmap.conf to use libkse for
> apache and mpm worker model. Following the manpage example, I set
> default threads to use libthr instead of libc_r. Running a fairly hi
> load web/mysql server, I ended up with with the error "unable to create
> new threads" and and had to kill the mysql server. It seems that mysql
> is partial to libc_r rather than libkse or libthr(?) as changing the
> libmap entry back to libc_r for default cured the mysql woes.

To get around what you're describing, you should tweak

kern.threads.max_threads_per_proc
and
kern.threads.max_groups_per_proc

The default on 5.2 is quite low.

Still, I have a feeling once you get this limit increased, you might
see a problem similar to the one I described.

Kris



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