From: David Huggins-Daines <dhd@linuxcare.com>
To: axp-list@redhat.com
Subject: Re: Stack size limits too low, XEmacs crashes
Date: 08 Apr 2000 14:59:00 -0400 [thread overview]
Message-ID: <87r9cg2zd7.fsf@tarwebok.thepuffigroup.com> (raw)
In-Reply-To: 20000406185916.A943@medi.physik.uni-oldenburg.de
Johannes Nix <jnix@medi.physik.uni-oldenburg.de> writes:
> To get higher limits by default, it seems necessary to write them
> in /etc/security/limits.conf, and also to set them with
> the ulimit shell command in the startup scripts for the
> daemons like sshd or atd. Stack limits are inherited by
> the parent processes and so each parent daemon has to
> be restarted.
If you really want to set them systemwide, the best thing to do is to
create an /etc/initscript which sets them (see `man 5 initscript').
Then anything started by init (i.e. everything) will inherit whatever
limits or environment variables you set there.
/etc/security/limits.conf is useful for setting non-systemwide limits,
such as if you wanted to have different limits for different users or
groups.
> If my assumption matches the true cause for the problem,
> it would seem reasonable that distributors increase stack
> size limits for the alpha.
Hm, interesting. I don't know where the default limits are set,
perhaps in the bash configuration process?
> Would you agree about this ? Why might a program need more
> stack when running on the alpha?
Well, pointers are 8 bytes wide, and a lot of pointers tend to live on
the stack. I think the stack frame format on the Alpha is a bit more
complex than on other architectures, too.
--
David Huggins-Daines, Senior Linux Consultant, Linuxcare, Inc.
613.562.1239 desk, 613.223.0225 mobile
dhd@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.
prev parent reply other threads:[~2000-04-08 19:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-06 16:59 Stack size limits too low, XEmacs crashes Johannes Nix
2000-04-08 18:59 ` David Huggins-Daines [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox