On Dec 10, 2007, at 08:43 , mabshoff wrote:
> On Dec 10, 5:13 pm, Rishikesh <[EMAIL PROTECTED]> wrote:
>> On Dec 10, 10:34 am, "William Stein" <[EMAIL PROTECTED]> wrote:
[snip]
> <SNIP>
>> make[2]: vfork: Resource temporarily unavailable
>> gcc -std=c99 -I/Volumes/Panther/sage/sage-2.9.alpha4/local/ 
>> include/  -
>> fPIC -funroll-loops  -O3 -c ZmodF_mul-test.c -o ZmodF_mul-test.o
>> make[2]: vfork: Resource temporarily unavailable
>> gcc -std=c99 -I/Volumes/Panther/sage/sage-2.9.alpha4/local/ 
>> include/  -
>> fPIC -funroll-loops  -O3 -c long_extras-test.c -o long_extras-test.o
>> make[2]: vfork: Resource temporarily unavailable
>> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/as: can't fork a new
>> process to execute: /usr/bin/../libexec/gcc/darwin/ppc/as (Resource
>> temporarily unavailable)
>
> <SNIP>
>
> The build failed because you exceeded the number of processes, which
> is 100 per default on OSX 10.4 [and ridiculously low for that matter].
> OSX 10.5 is slightly better. See
>
> http://developer.apple.com/documentation/Darwin/Reference/ManPages/ 
> man2/setrlimit.2.html

This might work better:

<http://developer.apple.com/documentation/Darwin/Reference/ManPages/ 
man8/sysctl.8.html>

The variable you should change is "kern.maxprocperuid":

$ sysctl kern.maxprocperuid
kern.maxprocperuid = 266

On my (Intel-based) systems (10.4.11 and 10.5.1), this is the default  
value.

If you need to change the value, it's done using a Terminal window,  
as root, e.g.,:

$ sudo sysctl -w kern.maxprocperuid=267
kern.maxprocperuid: 266 -> 267

(for example).  You (Michael) are correct that '100' is way too low.   
My recollection is a bit blurry, but I think that the Intel platforms  
have been higher than 100 for a while, but PowerPC platforms have not  
changed.  ISTR that on PowerPC I changed the startup to set the value  
higher, but that wasn't necessary on the Intel systems.

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
Experience is what you get
   when you don't get what you want.
--------




--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to