Frank Barnick wrote:
Hallo Liste,
ich muß auf einem Linux-Rechner (SuSE 7.1 mit Kernel 2.4.4) eine Versant-Datenbank einrichten. Nun fragt mich ein Versant-Spezi, ob Linux die Anzahl der Threads pro Prozess begrenzt und wenn ja, wo kann man diesen Wert erhöhen und erfragen.
Wer weiß rat?
Hallo, ["bits/local_lim.h"] /* The number of threads per process. */ #define _POSIX_THREAD_THREADS_MAX 64 /* This is the value this implementation supports. */ PTHREAD_THREADS_MAX 1024 [man 2 clone] The __clone call is Linux-specific and should not be used in programs intended to be portable. For programming threaded applications (multiple threads of control in the same memory space), it is better to use a library imple menting the POSIX 1003.1c thread API, such as the LinuxThreads library. See pthread_create(3thr). Gruß Daniel