* Increasing the stack size
@ 2000-06-14 11:00 Alan Keane
2000-06-14 14:35 ` Michal Jaegermann
0 siblings, 1 reply; 5+ messages in thread
From: Alan Keane @ 2000-06-14 11:00 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Hi,
Is there any way to increase the maximum stack size on Alpha Linux without
recompiling the kernel?
Using ulimit means I can increase the limit if I am root, but this does not
seem to be system wide, as when I su to another user anf try to increase the
stack size from the resulting shell I get a permission denied.
I wrote a program which used rsetlimit(), but again this would not allow a
user to increase
their stack size using ulimit.
Regards,
Alan Keane
akeane@quadrics.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Increasing the stack size
2000-06-14 11:00 Increasing the stack size Alan Keane
@ 2000-06-14 14:35 ` Michal Jaegermann
0 siblings, 0 replies; 5+ messages in thread
From: Michal Jaegermann @ 2000-06-14 14:35 UTC (permalink / raw)
To: axp-list
Alan Keane wrote:
>
> Is there any way to increase the maximum stack size on Alpha Linux without
> recompiling the kernel?
Yes. You have to edit /etc/security/limits.conf and this has
__nothing__ to do with Alpha but with how login program, and PAM
libraries, work. At least this worked the last time I tried.
Reading docs before you start with editor is highly recommended even if
a header comment in the aforementioned file gives quite a bit of
information.
Michal
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Increasing the stack size
@ 2000-06-14 15:14 Alan Keane
2000-06-14 15:48 ` Michal Jaegermann
0 siblings, 1 reply; 5+ messages in thread
From: Alan Keane @ 2000-06-14 15:14 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Hi Michal,
Thanks for that, I just got it working on one of my machines, but another of
my linux boxes
still won't allow a 'normal' user to increase their stack limit.
Could you possibly recommend some docs, as although I have spent most of the
day typing
+stack +linux +increase
into Alta Vista, I have not been able to find any doc on this, thanks again
for your help!
Cheers,
Alan Keane
akeane@quadrics.com
-----Original Message-----
From: Michal Jaegermann [mailto:michal@ellpspace.math.ualberta.ca]
Sent: 14 June 2000 15:35
To: axp-list@redhat.com
Subject: Re: Increasing the stack size
Alan Keane wrote:
>
> Is there any way to increase the maximum stack size on Alpha Linux without
> recompiling the kernel?
Yes. You have to edit /etc/security/limits.conf and this has
__nothing__ to do with Alpha but with how login program, and PAM
libraries, work. At least this worked the last time I tried.
Reading docs before you start with editor is highly recommended even if
a header comment in the aforementioned file gives quite a bit of
information.
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Increasing the stack size
2000-06-14 15:14 Alan Keane
@ 2000-06-14 15:48 ` Michal Jaegermann
0 siblings, 0 replies; 5+ messages in thread
From: Michal Jaegermann @ 2000-06-14 15:48 UTC (permalink / raw)
To: axp-list
Alan Keane wrote:
>
> Could you possibly recommend some docs, as although I have spent most of the
> day typing
>
> +stack +linux +increase
Hm, the only one I am aware of is a Section 6.10, "The resource limits
module", of PAM documentation. (say in /usr/doc/pam-0.64/txts/pam.txt,
but there is a number of formats and versions will change depending
on your distribution). Does anybody has any different pointers?
Michal
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Increasing the stack size
@ 2000-06-14 16:08 Alan Keane
0 siblings, 0 replies; 5+ messages in thread
From: Alan Keane @ 2000-06-14 16:08 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Well, I have solved the problem by creating an /etc/initscript which set the
hard and soft
limits there, that way all processes inherit the stack size I want.
Cheers,
Alan Keane
akeane@quadrics.com
-----Original Message-----
From: Michal Jaegermann [mailto:michal@ellpspace.math.ualberta.ca]
Sent: 14 June 2000 16:49
To: axp-list@redhat.com
Subject: Re: Increasing the stack size
Alan Keane wrote:
>
> Could you possibly recommend some docs, as although I have spent most of
the
> day typing
>
> +stack +linux +increase
Hm, the only one I am aware of is a Section 6.10, "The resource limits
module", of PAM documentation. (say in /usr/doc/pam-0.64/txts/pam.txt,
but there is a number of formats and versions will change depending
on your distribution). Does anybody has any different pointers?
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-06-14 16:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-14 11:00 Increasing the stack size Alan Keane
2000-06-14 14:35 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
2000-06-14 15:14 Alan Keane
2000-06-14 15:48 ` Michal Jaegermann
2000-06-14 16:08 Alan Keane
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox