From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 29634 invoked from network); 28 Apr 2000 19:29:03 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 28 Apr 2000 19:29:03 -0000 Received: from altatech.com (root@altatech.com [198.60.83.58]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA01455 for ; Fri, 28 Apr 2000 15:28:56 -0400 Received: from altatech.com ([198.60.83.79]) by altatech.com (8.8.8/8.8.3) with ESMTP id NAA00545 for ; Fri, 28 Apr 2000 13:28:32 -0600 Sender: ryan@altatech.com Message-ID: <3909E616.D2FE7664@altatech.com> Date: Fri, 28 Apr 2000 13:27:18 -0600 From: ryan X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.2.14 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Strange stack size problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.