RE: Re: [pthreads-devel] Per Process Thread Limi t
"Hunt, Bryan" <[email protected]> Tue, 18 Jun 2002 08:28:15 +0100
| Newsgroups | gmane.linux.ngpt.user |
|---|---|
| Message-ID | <5FE418B3F962D411BED40000E818B33C9C8CF2@HASSLE> |
When you recompile glibc from source having modified a couple of #define statements. Plus you will need to change a define in the kernel and recomplile it as well. If you are having java related problems (running out of threads etc) it would be an idea to try and find a webserver that works with java 4 and uses non blocking io... just a guess .... my advice though, find another way arround it because doing all that isn't worth the effort ( i did it and still cant get past 1400 java threads per vm ) --B -----Original Message----- From: Aron Rubin [mailto:[email protected]] Sent: 17 June 2002 21:46 To: [email protected]; [email protected] Subject: [pthreads-users] Re: [pthreads-devel] Per Process Thread Limit Then will I be unable to go beyond 1024 with non NGPT patched kernels? Aron Howell, David P wrote: >>From my test/development system: > - The supported kernels are called out in INSTALL in the tarball. I'm > using linux-2.4.19-pre8 with the 2.4.19-pre8 futex patch, prior to > the release of NGPT 1.9.3. > - I'm running NGPT 1.9.2. > - The distribution I use is Red Hat 7.2 with the later kernel > At this point I would use ngpt-1.9.3 with the latest kernel patches. > > Dave Howell > > -----Original Message----- > From: Aron Rubin [mailto:[email protected]] > Sent: Monday, June 17, 2002 4:00 PM > Cc: [email protected]; > [email protected] > Subject: Re: [pthreads-devel] Per Process Thread Limit > > > Do you know what kernels/distributions/patches with this work with? > > Aron > > Howell, David P wrote: > >>This is limited by the virtual memory space. I've spawned 27K threads with > > >>'test_str02 -l' on my Linux box with 1G memory and 128M swap. >> >>The tunables to lower the thread stack size can extend this, default is > > 64K; > >>if you can safely lower it for your threads it gives more space, I've used > > >>16K before for a high thread count process that needed more threads. Use > > the > >>'export DEFAULTTHREADSTACKSIZE=16' for 16K default thread stacks, or use > > the > >>pthread_attr_stacksize() attribute for the threads. >> >>Dave Howell >> >>-----Original Message----- >>From: Aron Rubin [mailto:[email protected]] >>Sent: Monday, June 17, 2002 3:06 PM >>To: [email protected]; >>[email protected] >>Subject: [pthreads-devel] Per Process Thread Limit >> >> >>Does NGPT allow for a higher per process thread limit. Right now it >>seems the highest number of threads possible per process is 1024. >> >>Aron >> >>_______________________________________________ >>pthreads-devel mailing list >>[email protected] >>http://www-124.ibm.com/developerworks/oss/mailman/listinfo/pthreads-devel > > > > _______________________________________________ > pthreads-devel mailing list > [email protected] > http://www-124.ibm.com/developerworks/oss/mailman/listinfo/pthreads-devel _______________________________________________ pthreads-users mailing list [email protected] http://www-124.ibm.com/developerworks/oss/mailman/listinfo/pthreads-users