Libmicro!! pthread_create Resource temporarily unavailable

Ricardo A. Reis ricardo_bsd at yahoo.com.br
Thu Nov 24 18:05:55 GMT 2005


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


More information about the freebsd-performance mailing list