From: <unknown Date: April 19 1999 9:02am Subject: Re: Threads/Linux/glibc (2.0.7-29) List-Archive: http://lists.mysql.com/mysql/2057 Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII As a matter of fact, yes. 512 processes is the max under linux, MAX_TASKS_PER_USER = NR_TASKS/2, so 256 is the top end. Edit /usr/src/linux/include/linux/tasks.h and change NR_TASKS to something like 2048. --- tani hosokawa river styx internet On Mon, 19 Apr 1999, Wojciech Zwiefka wrote: > I have RedHat 5.2 with glibc-2.0.7-29 and kernel 2.2.3 (SMP) and MySQL > 3.21.19a > > I have raised max_connections to 400 but when mysql gets to about 250 > runing threads I get an error > > error: 'Can't create a new thread (errno 12). If you are not out of > available memory, you can consult the manual for a possible OS-dependent > bug' > > I recompiled MySQL on RH 5.2 with glibc-2.0.7-29. In the past I had > similiar errors but they went away when I upgraded glibc. (to 2.0.7-19 > rpm). This error shows only on this box. There are other linux machines > with mysql but they are not so much loaded. > > Is there any linux/glibc/thread limit that I can't get over 255 > running threads ? (I'm running oracle database on the same box so may be > it is an issue) > > Wojtek > > -- > Wojciech Zwiefka > E-mail:wojtekz@stripped || http://www.ue.eti.pg.gda.pl/~wojtekz > ------------------------------------------------------------------------- > UNIX is user friendly. It's just selective about who its friends are. > > > > > --------------------------------------------------------------------- > Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before > posting. To request this thread, e-mail mysql-thread2054@stripped > > To unsubscribe, send a message to the address shown in the > List-Unsubscribe header of this message. If you cannot see it, > e-mail mysql-unsubscribe@stripped instead. >