Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 2003 15:33:42 +0200
From:      "Kai Mosebach" <kai.mosebach@freshx.de>
To:        <freebsd-threads@freebsd.org>
Subject:   EAGAIN failure on pthread_create
Message-ID:  <001b01c34943$60e25cf0$0100000a@alpha>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001b01c34943$60e25cf0$0100000a>