From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32491 invoked from network); 2 May 2000 22:57:50 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 2 May 2000 22:57:50 -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 SAA13295 for ; Tue, 2 May 2000 18:57:47 -0400 Received: from altatech.com ([192.168.2.22]) by altatech.com (8.8.8/8.8.3) with ESMTP id QAA18666 for ; Tue, 2 May 2000 16:57:40 -0600 Sender: ryan@altatech.com Message-ID: <390F5D20.2786238@altatech.com> Date: Tue, 02 May 2000 16:56:32 -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: Re: Strange stack size problem References: <200004282137.PAA16115@ellpspace.math.ualberta.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Michal Jaegermann wrote: > > > > I need to increase the maximum stack size available to the users of the > > cluster. I've tried the obvious things: > > > > - tweaking PAM > > The only way I know in which that could be changed with a normal boot > sequence is by taking and editor to /etc/security/limits.conf . If that > does not work that would mean a bug in PAM libraries. Did you check if > there are not updates for a version you have? There were some. > > Setting limits is documented in stuff you will find in /usr/doc/pam-... > > > - changing the default in the kernel and recompiling > > That would indicate that PAM is actually setting things. > Unless a stack value is not hardwired in a version you are using > this would sort of contradict, to a degree, a guess above. That could be a possibility. I haven't been able to check for updates because RedHat's ftp server is always maxed out, and none of the mirrors that I know of have RH6.1 stuff anymore. All they mirror is 6.2 If PAM is the problem though, why does it work when a shell script execs init? If i configure PAM and edit /etc/security/limits.conf it works fine when a user actually logs in somehow (console, rsh, etc.) But apparently PBS doesn't actually log users in so the stack size gets set to what ever it is for the pbs daemon (8Mb in this case). I'll look for PAM updates though.