Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Strange stack size problem
@ 2000-04-28 19:27 ryan
  2000-04-28 21:37 ` Michal Jaegermann
  2000-04-29  1:17 ` Dave Moore
  0 siblings, 2 replies; 6+ messages in thread
From: ryan @ 2000-04-28 19:27 UTC (permalink / raw)
  To: axp-list

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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-05-03  2:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-28 19:27 Strange stack size problem ryan
2000-04-28 21:37 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox