Re: how to increase max connections above 1024 in Linux

2002-06-13 Thread Tonu Samuel
On Thu, 13 Jun 2002, Patrick Hsieh wrote: Hello, I want to raise the max connections in mysql. Due to the linux limix thread limitation, I can only increase the number to around 1024. How can I break the limitation? This is topic of glibc (assuming you are using kernel 2.4 at least).

Re: how to increase max connections above 1024 in Linux

2002-06-13 Thread Patrick Hsieh
Hello Tonu Samuel [EMAIL PROTECTED], Thanks, but my Debian woody did not install glibc package. Should I get the package source, modify the PTHREAD_THREADS_MAX value and rebuild glibc package for further installation? On Thu, 13 Jun 2002 08:55:35 +0200 (EET) Tonu Samuel [EMAIL PROTECTED]

Re: how to increase max connections above 1024 in Linux

2002-06-13 Thread Patrick Hsieh
Hello Tonu Samuel [EMAIL PROTECTED], home:~# dpkg -l | grep libc ii libc6 2.2.5-6GNU C Library: Shared libraries and Timezone ii libc6-dev 2.2.5-6GNU C Library: Development Libraries and Hea I think I have to rebuild one of them and reinstall the package again.

Re: how to increase max connections above 1024 in Linux

2002-06-13 Thread Patrick Hsieh
Hello Tonu Samuel [EMAIL PROTECTED], In my Debian woody, I found relative definition 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

how to increase max connections above 1024 in Linux

2002-06-12 Thread Patrick Hsieh
Hello, I want to raise the max connections in mysql. Due to the linux limix thread limitation, I can only increase the number to around 1024. How can I break the limitation? -- Patrick Hsieh [EMAIL PROTECTED] GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg