From owner-freebsd-threads@FreeBSD.ORG Sun Jul 13 06:33:40 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B521937B401 for ; Sun, 13 Jul 2003 06:33:40 -0700 (PDT) Received: from dust.freshx.de (freshx.de [80.190.100.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECA8843F85 for ; Sun, 13 Jul 2003 06:33:39 -0700 (PDT) (envelope-from kai.mosebach@freshx.de) Received: from alpha (p508B1D97.dip.t-dialin.net [80.139.29.151]) by dust.freshx.de (Postfix) with ESMTP id 02E2515E136 for ; Sun, 13 Jul 2003 15:33:32 +0200 (CEST) From: "Kai Mosebach" To: Date: Sun, 13 Jul 2003 15:33:42 +0200 Message-ID: <001b01c34943$60e25cf0$0100000a@alpha> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: EAGAIN failure on pthread_create X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2003 13:33:41 -0000 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