jocelyn fournier writes:
> Hi,
>
> About glibc, I saw the 2.2.5 release included the spinlock.c patch, part of
> the internals.h (except the following part :
> -#define STACK_SIZE (2 * 1024 * 1024)
> +#define STACK_SIZE (128 * 1024)
> )
> The local_lim.h is also partially patched :
>
> The following part :
> -#define PTHREAD_THREADS_MAX 1024
> +#define PTHREAD_THREADS_MAX 4096
>
> is missing.
>
> So my question is : with glibc 2.2.5, should I modify the STACK_SIZE and
> PTHREAD_THREADS_MAX values ? (and why didn't they applied those part of
> patches ?)
>
> Thank you !
>
> Best Regards,
>
> Jocelyn Fournier
> Presence-PC
To tell you a truth, I have downloaded 2.2.5 but still have not found
time to build / install them.
For MySQL 64 * 1024 stack size is sufficient and should be set in
that fashion if you run lot's of connections. Similar reasoning
applies to number of threads.
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php