SUMMARY: pthread_create_problem

From: Franc Carter <franc_at_mml.usyd.edu.au>
Date: Fri, 24 Mar 2000 11:57:10 +1100

Thanks to
    Becker, John" <John.Becker_at_compaq.com>"
    Lampert, Pat" <Pat.Lampert_at_compaq.com>"

for pointing out the vm-vpagemax tuneable parameter. This parameter
controls the number of virtual pages that can have individual
protection bits set on them. Apparently each page in the stack space
has it's own protection bits, hence when you start creating threads
you may need to increase the value of vm-vpagemax.

I did this by using dbx to change the vm_tune.vt_vpagemax for the
currently running attribute and then changed the vm-vmpagemax attribute
in the vm: section of syconfigtab for future reboots

thanks

-- 
Franc Carter                            MEMLab, University of Sydney
Ph: 61-2-9351-7819                      Fax: 9351-6461
Received on Fri Mar 24 2000 - 01:06:00 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT