* [gentoo-user] max threads per process linux-2.6 nptl
@ 2006-02-08 18:52 pepone pepone
2006-02-08 21:26 ` kashani
0 siblings, 1 reply; 3+ messages in thread
From: pepone pepone @ 2006-02-08 18:52 UTC (permalink / raw
To: gentoo-user
Hi
I want increase the max number of threads that can be created in a sigel process
I read in mysqldoc that i must changue this and recompile pthreads
/usr/include/bits/local_lim.h
/* The number of threads per process. */
#define _POSIX_THREAD_THREADS_MAX 64
is this correct?
thanks in advantage
--
play tetris http://pepone.on-rez.com/tetris
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] max threads per process linux-2.6 nptl
2006-02-08 18:52 [gentoo-user] max threads per process linux-2.6 nptl pepone pepone
@ 2006-02-08 21:26 ` kashani
2006-02-08 22:31 ` pepone pepone
0 siblings, 1 reply; 3+ messages in thread
From: kashani @ 2006-02-08 21:26 UTC (permalink / raw
To: gentoo-user
pepone pepone wrote:
> Hi
>
> I want increase the max number of threads that can be created in a sigel process
>
> I read in mysqldoc that i must changue this and recompile pthreads
>
> /usr/include/bits/local_lim.h
>
> /* The number of threads per process. */
> #define _POSIX_THREAD_THREADS_MAX 64
>
>
> is this correct?
It seems to be, but I just checked one of my larger Mysql boxes and I've
got 713 threads and one process. I didn't do anything other than enable
nptl.
> thanks in advantage
I think you mean thanks in advance. :)
kashani
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] max threads per process linux-2.6 nptl
2006-02-08 21:26 ` kashani
@ 2006-02-08 22:31 ` pepone pepone
0 siblings, 0 replies; 3+ messages in thread
From: pepone pepone @ 2006-02-08 22:31 UTC (permalink / raw
To: gentoo-user
Yes this seems to be not necesary with nptl
i need to use ulilimit -s 512 to reduce the default stacksize and be
able of create more threads
On 2/8/06, kashani <kashani-list@badapple.net> wrote:
> pepone pepone wrote:
> > Hi
> >
> > I want increase the max number of threads that can be created in a sigel process
> >
> > I read in mysqldoc that i must changue this and recompile pthreads
> >
> > /usr/include/bits/local_lim.h
> >
> > /* The number of threads per process. */
> > #define _POSIX_THREAD_THREADS_MAX 64
> >
> >
> > is this correct?
>
> It seems to be, but I just checked one of my larger Mysql boxes and I've
> got 713 threads and one process. I didn't do anything other than enable
> nptl.
>
> > thanks in advantage
>
> I think you mean thanks in advance. :)
>
> kashani
> --
> gentoo-user@gentoo.org mailing list
>
>
--
play tetris http://pepone.on-rez.com/tetris
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-02-08 22:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-08 18:52 [gentoo-user] max threads per process linux-2.6 nptl pepone pepone
2006-02-08 21:26 ` kashani
2006-02-08 22:31 ` pepone pepone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox