* Problems Changing stack size
@ 2000-10-31 11:41 Elena Ortiz García
2001-02-24 4:41 ` Greg Lindahl
0 siblings, 1 reply; 4+ messages in thread
From: Elena Ortiz García @ 2000-10-31 11:41 UTC (permalink / raw)
To: axp-list, ortizge, axp-kernel-list
Hello!
We have a cluster of Alpha DS10 with a DS20 as front-end and I cannot
change the stack size limit on any of them as a normal user even when
the hard limit is unlimited. I have RedHat Linux 6.0 with Kernel
version 2.2.12 running on the cluster
With the bash command ulimit and csh limit I can do it as root,
but it is impossible if you are a normal user.
You get a message like this:
ulimit: cannot raise limit: Operation not permitted
Do someone know how can I solve this problem? The users do need
greater stack_size limit that the default value: 8192 kbytes.
On the other hand, the virtual memory size abnormally big as default:
hard limit (kbytes): 18014398509481982
soft limit (kbytes): 9007199254749183
and as I get from the information available, this is value cannot be
changed with ulimit or limit. How can it be changed then?
Thanks
Best wishes
Elena
--
___________________________________
Elena Ortiz Garcia
Centro de Astrobiologia
INTA, Edificio S-18
Ctra de Torrejon a Ajalvir Km4
28850 Torrejon de Ardoz (Madrid)
Spain
e-mail: ortizge@inta.es
___________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Problems Changing stack size
2000-10-31 11:41 Problems Changing stack size Elena Ortiz García
@ 2001-02-24 4:41 ` Greg Lindahl
0 siblings, 0 replies; 4+ messages in thread
From: Greg Lindahl @ 2001-02-24 4:41 UTC (permalink / raw)
To: axp-list
On Tue, Oct 31, 2000 at 12:41:24PM +0100, Elena Ortiz García wrote:
> With the bash command ulimit and csh limit I can do it as root,
>
> but it is impossible if you are a normal user.
What you need to do is either (1) use /etc/initscript to raise the
limits of all processes created by init, or (2) use the pam_limits
module. I think both are described in the searchable archive of this
list, assuming you can find one. Hm, I think it's
http://www.lib.uaa.alaska.edu/axp-list/
pam_limits is described in /usr/share/doc/pam*/txts/README.pam_limits
/etc/initscript is mentioned in "man init", but you'll need to read
the mailing list article to see how the arguments work.
-- greg
^ permalink raw reply [flat|nested] 4+ messages in thread
* Problems Changing stack size
@ 2000-11-09 12:04 Elena_Ortiz_Garcia
2000-11-11 1:01 ` Reinier Bikker
0 siblings, 1 reply; 4+ messages in thread
From: Elena_Ortiz_Garcia @ 2000-11-09 12:04 UTC (permalink / raw)
To: axp-list
Hello!
We have a cluster of Alpha DS10 with a DS20 as front-end and I
cannot change the stack size limit on any of them as a normal user even
when the hard limit is unlimited. I have RedHat Linux 6.0 with Kernel
version 2.2.12 running on the cluster
With the bash command ulimit and csh limit I can do it as root, but
it is impossible if you are a normal user. You get a message like this:
ulimit: cannot raise limit: Operation not permitted
Do someone know how can I solve this problem? The users do need
greater stack_size limit that the default value: 8192 kbytes.
On the other hand, the virtual memory size is abnormally big as
default:
hard limit (kbytes): 18014398509481982
soft limit (kbytes): 9007199254749183
and as I get from the information available, this value cannot be
changed with ulimit or limit. How can it be changed then?
Thanks
Best wishes
Elena
--
___________________________________
Elena Ortiz Garcia
Centro de Astrobiologia
INTA, Edificio S-18
Ctra de Torrejon a Ajalvir Km4
28850 Torrejon de Ardoz (Madrid)
Spain
e-mail: ortizge@inta.es
___________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Problems Changing stack size
2000-11-09 12:04 Elena_Ortiz_Garcia
@ 2000-11-11 1:01 ` Reinier Bikker
0 siblings, 0 replies; 4+ messages in thread
From: Reinier Bikker @ 2000-11-11 1:01 UTC (permalink / raw)
To: axp-list; +Cc: axp-kernel-list
On Thu, 9 Nov 2000, Elena_Ortiz_Garcia wrote:
: Hello!
:
Well, Hi!!!
Strange you didn't get any reply here yet.
It's not a DS?0 problem, i notice these things to, on EB164's, save your
strange default values. It is a kernel problem as far as i know.
As a practical solution, i set a reasonable value like 32768 for all users
via /etc/profile or a file in /etc/profile.d/. The hard limit cannot be
changed once it is set, not even by root. That explains your trouble.
Reinier.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-02-24 19:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-31 11:41 Problems Changing stack size Elena Ortiz García
2001-02-24 4:41 ` Greg Lindahl
-- strict thread matches above, loose matches on Subject: below --
2000-11-09 12:04 Elena_Ortiz_Garcia
2000-11-11 1:01 ` Reinier Bikker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox