MySQL with KSE -- Unstable?

Kris Gale kgale at asn.net
Tue Feb 3 15:05:57 PST 2004


> 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


More information about the freebsd-current mailing list