[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Oh my gosh. Can you say "stack?"

From: Ben Collins <bcollins_at_debian.org>
Date: 2002-05-29 03:22:56 CEST

On Tue, May 28, 2002 at 06:39:20PM -0500, cmpilato@collab.net wrote:
> Philip Martin <philip@codematters.co.uk> writes:
>
> > cmpilato@collab.net writes:
> >
> > > But I wonder if perhaps the
> > > code was dying by hitting a stack limitation. Does Linux have such a
> > > limitation (besides, of course, system resources) ?
> >
> > Yup, it does. Try 'ulimit -a' to see it. As an ordinary user you
> > may, or may not, be able to change it. There may be a file
> > /etc/security/limits.conf that defines whether you can change it, and
> > the default value.
>
> Ah, thanks. Looks like I have an 8M stack limitation.

Since we are linked to pthreads, that limitation drops to 2M, and is
hardcoded in libc/pthreads (atleast I think it is 2M, but I know it is
less than normal).

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://linux1394.sourceforge.net/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 29 03:31:18 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.