[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: increase mysql max connections over 1024



On Fri, Jun 14, 2002 at 12:58:31PM +0800, Patrick Hsieh wrote:
> I'd like to increase the number of max connections above 1024 in Linux.
> I think I have to increase PTHREAD_THREADS_MAX  in 
> 
> /usr/include/bits/local_lim.h
> 
> /* The number of threads per process.  */
> #define _POSIX_THREAD_THREADS_MAX       64
> /* This is the value this implementation supports.  */
> #define PTHREAD_THREADS_MAX     1024
> 
> 
> My question is, what should I do after modify this file. Should I
> rebuild mysql-server .deb package again? Or I just set mysql max
> connections and restart mysql server?

I am not expert ...

If what you say is true, I can tell you that ANY program which is
involved with mysql and which used local_lim.h needs to be recompiled.
What I do not know is whether this involves glibc (libc6) or not.

Anyway, at root

# apt-get source mysql-server
# cd mysql-server*

Check source for what happens "debian/rules binary".

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
 Osamu Aoki @ Cupertino CA USA
 See "User's Guide":     http://www.debian.org/doc/manuals/users-guide/
 See "Debian reference": http://www.debian.org/doc/manuals/reference/
 "Debian reference" Project at: http://qref.sf.net

 I welcome your constructive criticisms and corrections.


-- 
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: