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 |
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.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
9963.1 | DCETHD::BUTENHOF | Dave Butenhof, DECthreads | Wed May 28 1997 07:16 | 11 | |
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.2 | LABC::RU | Wed May 28 1997 19:09 | 13 | ||
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.3 | LABC::RU | Wed May 28 1997 20:16 | 2 | ||
We solved the problem with setting of vm-vpagemax to 256000. |