Hello, 史绪良 wrote:
hello!!
can you help me??
my program need many thread, they will not exit never. but redhat
linux7.3 - linux8.0 only create 256 thread!! how can I do??
thanks!!
I'm not sure if this is related at all, but what does the output of "sysctl kernel.threads-max" show? (It is 2041 on both my systems, 7.3 and 8.0)
The man page for pthread_create(3) contains the following line under the ERROS section. EAGAIN more than PTHREAD_THREADS_MAX threads are already active. Search for PTHREAD_THREADS_MAX in the FAQ-threads.html in the /usr/share/doc/glibc-common-2.2.5 on Red Hat 7.3 and /usr/share/doc/glibc-common-2.2.93 on Red Hat 8.0. The do mention that the limit is 1024 though. I can't help much more than this unfortunately.
can't use fork to create process,because all processes must share the memory!!
----- Original Message -----
*From:* David Busby <mailto:[EMAIL PROTECTED]>
*To:* [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
*Sent:* Friday, January 10, 2003 12:32 PM
*Subject:* Re: FAQ
use fork() and create many processes, AFAIK you can have 1000s of
processes
/B
----- Original Message -----
*From:* 史绪良 <mailto:[EMAIL PROTECTED]>
*To:* [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
*Sent:* Tuesday, November 05, 2002 18:18
*Subject:* FAQ
hello!!
can you help me??
my program need many thread, they will not exit never. but
redhat
linux7.3 - linux8.0 only create 256 thread!! how can I do??
thanks!!
Best Regards Willem Brown -- iServe (Pty) Ltd. http://www.iserve.co.za/ Tel: +27 (0)11 258-7800 Fax: +27 (0)11 258-7888 Cell: +27 (0)83 271-0839 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
