For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > modifying stack limits

modifying stack limits

Created by dave. Last edited by dave, 16 years and 270 days ago. Viewed 2,893 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
The stack limits in Linux may be set within the tcsh or bash shells as follows:

In bash and similar shells you can use theese three commands:

  • ulimit -a
  • ulimit -Ha
  • ulimit -s unlimited
that will respectively print soft limits, hard limits and remove the stack limit.

In tcsh and similar shells the commands would look like this:

  • limit
  • limit -h
  • limit s unlimited
After removing the stack limit try runing your program from the same shell.
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt