Re: how to increase stacksize?

2011-04-04 Thread Anton Shterenlikht
On Mon, Apr 04, 2011 at 01:21:16PM -0700, Chuck Swiger wrote: > On Apr 4, 2011, at 1:17 PM, Anton Shterenlikht wrote: > >> Set kern.maxssiz in /boot/loader.conf > >> to a larger value-- also consider > >> tweaking kern.dflssiz, > > > > What does this limit? > > > > Is it documented anywhere? > >

Re: how to increase stacksize?

2011-04-04 Thread Mark Blackman
On 4 Apr 2011, at 21:00, Mark Blackman wrote: > > set 'kern.maxdxiz' in your /boot/loader.conf and reboot > if you're already hitting the hard limit. hmm, edit failure there. 'kern.maxssiz' is what I meant of course. ___ freebsd-questions@freebsd.org

Re: how to increase stacksize?

2011-04-04 Thread Mark Blackman
On 4 Apr 2011, at 20:50, Anton Shterenlikht wrote: [snip] > > I'd like to increase stacksize. > How do I do this? > > "limits -s xxx" doesn't set the limits, > any anyway, in /etc/login.conf I get: > > So where do my shell settings come from? stacksize is ultimately a kernel limit, and the ha

Re: how to increase stacksize?

2011-04-04 Thread Chuck Swiger
On Apr 4, 2011, at 1:17 PM, Anton Shterenlikht wrote: >> Set kern.maxssiz in /boot/loader.conf >> to a larger value-- also consider >> tweaking kern.dflssiz, > > What does this limit? > > Is it documented anywhere? It appears to be documented in the manpages: http://www.freebsd.org/cgi/man.c

Re: how to increase stacksize?

2011-04-04 Thread Anton Shterenlikht
On Mon, Apr 04, 2011 at 01:03:28PM -0700, Chuck Swiger wrote: > On Apr 4, 2011, at 12:50 PM, Anton Shterenlikht wrote: > > I'd like to increase stacksize. How do I do this? > > Set kern.maxssiz in /boot/loader.conf > to a larger value-- also consider > tweaking kern.dflssiz, What does this limit

Re: how to increase stacksize?

2011-04-04 Thread Anton Shterenlikht
On Mon, Apr 04, 2011 at 09:00:16PM +0100, Mark Blackman wrote: > > On 4 Apr 2011, at 20:50, Anton Shterenlikht wrote: > > [snip] > > > > I'd like to increase stacksize. > > How do I do this? > > > > "limits -s xxx" doesn't set the limits, > > any anyway, in /etc/login.conf I get: > > > > So wh

Re: how to increase stacksize?

2011-04-04 Thread Chuck Swiger
On Apr 4, 2011, at 12:50 PM, Anton Shterenlikht wrote: > I'd like to increase stacksize. How do I do this? Set kern.maxssiz in /boot/loader.conf to a larger value-- also consider tweaking kern.dflssiz, unless you want to use limit/ulimit before invoking the process. I don't believe you can cha

how to increase stacksize?

2011-04-04 Thread Anton Shterenlikht
Hi, I'm using tcsh. I get: TZAV> limits Resource limits (current): cputime infinity secs filesize infinity kB datasize 1048576 kB stacksize 262144 kB coredumpsize infinity kB memoryuseinfinity kB memorylocked