Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2005 16:05:17 -0200
From:      "Ricardo A. Reis" <ricardo_bsd@yahoo.com.br>
To:        performance@freebsd.org
Subject:   Libmicro!! pthread_create  Resource temporarily unavailable
Message-ID:  <438600DD.10608@yahoo.com.br>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?438600DD.10608>