[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9963.0. "pthread_create" by NNTPD::"[email protected]" (Perf) Tue May 27 1997 18:45

I am trying to build a benchmark so that it can run on DU V4.0B.  After being
compiled and linked, 
I ran the output file.  This benchmark supposed to run parallel on 8 cpus. 
However, it looks like 
it is only run on 2 cpus and also output 6 similar messages as follow:

pthread_create: Not enough space
pthread_create: Not enough space
pthread_create: Not enough space
pthread_create: Not enough space
pthread_create: Not enough space
pthread_create: Not enough space

I have tried to increase the stacksize, but did not help.

Does anyone have any suggestions?


[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
9963.1DCETHD::BUTENHOFDave Butenhof, DECthreadsWed May 28 1997 07:1611
That's ENOMEM, and there are lots of possible reasons. Without knowing more
about what you're doing, and the system configuration, it's hard to guess
what could be causing your problem.

You may be asking for TOO MUCH stack (in the threads you're trying to
create), or you may be running short of vpagemax or mapentries, or swapfile
space.

How are you creating the threads? What attributes are you using?

	/dave
9963.2LABC::RUWed May 28 1997 19:0913
    
    I got the same error message.  This is customer code.
    So we don't know how it runs.  We have increased the sysconfig
    parameters lime vm-mapentries=400 and vm-per-proc-data and
    vm-per-proc-address size to 3G.  vm_maxvas=4G
    Also we set limit in csh to unlimit.
    
    Please give a suggestion.
    
    thanks.
    
    
    Jason
9963.3LABC::RUWed May 28 1997 20:162
    
    We solved the problem with setting of vm-vpagemax to 256000.