From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Greg Sylvain" To: "Bart Schaefer" , zsh-users@sunsite.auc.dk Message-ID: <8525670D.0065313F.00@lnserver.landmark.com> Date: Wed, 3 Feb 1999 13:29:10 -0500 Subject: Re: Problem w/ ulimit killing compiles on sol 2.4&2.6 ... Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Mailing-List: 2072 Ok. great. unlimit worked, well on Sol24 box anyway. To finish this off then, I have a couple last questions : 1 - where is the most appropriate place to put the unlimit call (~/.zshenv or ~/.zshrc). I never have been able to figure out what goes where. Currently, I only specify my path in ~/.zshenv and everything else is done in ~/.zshrc, is this correct ? 2 - is there any way to determine the amount of resources consumed by zsh and in what areas ? (i.e. is it my environment that is causing the stack space to blow or is it the datasize, etc ???) Thanks, greg "Bart Schaefer" on 02/03/99 12:54:13 PM To: Greg Sylvain/LSC, zsh-users@sunsite.auc.dk cc: Subject: Re: Problem w/ ulimit killing compiles on sol 2.4&2.6 ... On Feb 3, 12:38pm, Greg Sylvain wrote: } Subject: Problem w/ ulimit killing compiles on sol 2.4&2.6 ... } } I'm running zsh 3.0.5 on a Solaris 2.4 and 2.6 machine, while attempting to } build a large C++ application with gcc -2.7.2.1 the compile exits } prematurly after attempting to link the resulting objects. I presume you get some kind of error message that leads you to believe this is a limits problem? } When I got to a fresh ksh with nothing int he evnironment, I'm able to } build and link the program just fine. Some versions of Sun operating systems have problems executing processes if there's too much stuff in the environment. I'd be surprised if Sol 2.6 was still susceptible, but it's possible. You don't use `setopt allexport` in zsh or anything silly like that, do you? } My question is why is this happening and how can I fix it? (I have 24 } directories in my PATH!) What contributes to this limit problem and is } there any way to increase the limit any more.. Have you tried the `unlimit` command (note the "n") which with no argument should increase all limits to their maximum allowed values? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com