EAGAIN failure on pthread_create
Kai Mosebach
kai.mosebach at freshx.de
Sun Jul 13 06:33:41 PDT 2003
Hi,
i started using libkse instead of linuxthreads in my sapdb port, but now
on kernelstart i get the message :
2003-07-13 15:29:20 4826 ERR 11008 TASKING Could not create thread:
'Resource exeeed (curr:48)', rc = 1
2003-07-13 15:29:20 4826 ERR 11908 SYSTEM FATAL: Could not start all
user task threads
saying, that the return code of pthread_create is 1, and the number of
created threads so far is 48, max_threads_per_proc is 150.
I am using 5.1-CURRENT from Juli 10th.
[root at devil:~] # sysctl -a |grep proc
kern.maxproc: 4052
kern.maxfilesperproc: 7293
kern.maxprocperuid: 3646
subproc 132 430K 478K 5512 32,256,4096
proc 2 4K 4K 2 2048
proc-args 50 4K 4K 17887 16,32,64,128,256
kern.shutdown.kproc_shutdown_wait: 60
kern.threads.max_threads_per_proc: 150
kern.threads.max_groups_per_proc: 50
vm.max_proc_mmap: 28894
debug.sizeof.proc: 484
debug.sizeof.kinfo_proc: 648
security.bsd.unprivileged_proc_debug: 1
Any ideas ?
Cheers Kai
More information about the freebsd-threads
mailing list