Re: [gentoo-user] max threads per process linux-2.6 nptl

2006-02-08 Thread pepone pepone
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 <[EMAIL PROTECTED]> 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



Re: [gentoo-user] max threads per process linux-2.6 nptl

2006-02-08 Thread kashani

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