From: ryan <ryan@altatech.com>
To: axp-list@redhat.com
Subject: Strange stack size problem
Date: Fri, 28 Apr 2000 13:27:18 -0600 [thread overview]
Message-ID: <3909E616.D2FE7664@altatech.com> (raw)
Ok, here's my setup:
-12 UP2000 Alpha boxen in a cluster
- RedHat 6.1
- 256MB ram each
- latest version of PBS
- kernel 2.2.14
I need to increase the maximum stack size available to the users of the
cluster. I've tried the obvious things:
- tweaking PAM
- changing the default in the kernel and recompiling
- creating an /etc/initscript file to set the stack size
- editing the files in /etc/security as appropriate
This works fine on Intel machines, giving me more stack space for my PBS
jobs. For some reason it does _not_ work on the Alphas, which still
insist that the stack size is 8MB. I've been trying to figure out what
causes this and I've found a few interesting things:
- It only happens on Alphas (as already stated)
- Passing the kernel 'init=/bin/sh' starts bash, which sees the new
stack size correctly.
- Doing an 'exec /sbin/init' from there will start init, after which
the stack size will be correctly set for all users, root or mortal (
haven't tried with PBS yet though). This works even without the above
changes
- Only happens when the kernel runs /sbin/init as per default.
Any ideas? I thought it might be RedHat's init, but I recompiled that
from the pristine source and had the same problem.
next reply other threads:[~2000-04-28 19:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-28 19:27 ryan [this message]
2000-04-28 21:37 ` Strange stack size problem Michal Jaegermann
2000-05-02 22:56 ` ryan
2000-05-02 23:12 ` Konrad Podloucky
2000-05-03 2:21 ` Michal Jaegermann
2000-04-29 1:17 ` Dave Moore
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