From owner-freebsd-performance@FreeBSD.ORG Thu Nov 24 18:05:55 2005 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00E6616A41F for ; Thu, 24 Nov 2005 18:05:55 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: from maritaca.epm.br (disrouter.epm.br [200.17.25.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id E945443D93 for ; Thu, 24 Nov 2005 18:05:46 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: from localhost (localhost.localdomain [127.0.0.1]) by maritaca.epm.br (Postfix) with ESMTP id F0E1A3948 for ; Thu, 24 Nov 2005 16:05:39 -0200 (BRDT) Received: from [172.22.1.166] (ricardo.epm.br [172.22.1.166]) by maritaca.epm.br (Postfix) with ESMTP id 986D13946 for ; Thu, 24 Nov 2005 16:05:35 -0200 (BRDT) Message-ID: <438600DD.10608@yahoo.com.br> Date: Thu, 24 Nov 2005 16:05:17 -0200 From: "Ricardo A. Reis" User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051122) X-Accept-Language: en-us, en MIME-Version: 1.0 To: performance@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit UNIFESP-Virus-Scanned: by amavisd-new at dis.epm.br Cc: Subject: Libmicro!! pthread_create Resource temporarily unavailable X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2005 18:05:55 -0000 Hi all, Recently i uncovered libmicro work in freebsd, but after install from ports my first test using pthread_create not work. Using default or custom parameters in pthread_create i see this messages on dmesg , pthread_create: Resource temporarily unavailable # sysctl -a |grep thread kern.threads.thr_concurrency: 0 kern.threads.thr_scope: 0 kern.threads.virtual_cpu: 2 kern.threads.max_threads_hits: 0 kern.threads.max_groups_per_proc: 1500 kern.threads.max_threads_per_proc: 1500 kern.threads.debug: 0 Hyperthreading: 2 logical CPUs Hyperthreading: 2 logical CPUs vm.stats.vm.v_kthreadpages: 0 vm.stats.vm.v_kthreads: 67 machdep.hyperthreading_allowed: 1 #limit cputime unlimited filesize unlimited datasize 512MB stacksize 64MB coredumpsize unlimited memoryuse unlimited memorylocked unlimited maxproc 3603 descriptors 7207 sockbufsize unlimited vmemorysize unlimited what is the problem? pthread_create ? Thanks Ricardo A. Reis UNIFESP