Cannot set 'soft limits' for 'maximum stack size' for a standard user
Hi Guys,
I'm trying to install Oracle Database on to Oracle Linux 7.6 but when
the database install package checks the OS set-up, it keeps on failing
on the soft limits for the stack. It's default value is 8192 but I'm trying
to set it to 10240.
This is what I added to /etc/sysctl.d/50-oracle-sysctl.conf
==========================================
which works without issuing any warnings or errors.
This is what I copied from: Oracle Database 12c Preinstall Steps for Oracle Linux Simplified | Oracle Linux Blog
and placed into the config file at /etc/security/limits.d/50-oracle-limits.conf
because I was having problems and thought the parameters from the oracle
blog may have a better outcome. No change unfortunately.
======================================================
On restart the soft stack limit for user oracle is as good as ignored with still the default value of 8192.
Oracle database installer requires 10240 to proceed with the installation.
The funny thing is, just adding the above lines to the config files under Oracle Linux 7.5
worked without any problems. Can only speculate that Oracle has added or changed
something that now works differently.
I'd like to apply the limits in a proper fashion without having to add commands to by
bash profile. Any ideas would be greatly appreciated. Thanks in advance.
SYSTEM
=======
Moderator's Comments:
Please use CODE tags as required by forum rules!
Last edited by RudiC; 02-16-2019 at 02:35 PM..
Reason: Added CODE tags.
OS version : RHEL 6.5
Below is an excerpt from /etc/security/limits.conf file for OS User named appusr in our server
appusr soft nproc 2047
appusr hard nproc 16384
What will happen if appusr has already spawned 2047 processes and wants to spawn 2048th process ?
I just want to know... (3 Replies)
Hi,
I have as Solaris 10 (x86) system. I want to set the maximum memory for the user
But the following comaand is valid only till next reboot.Pls let me know how to make it permanenent.
prctl -n project.max-shm-memory -r -v 4G -i project 3 (6 Replies)
:wall:Dear Solaris 10 Specialists,
I am having difficulty trying to increase the soft stack limit to 16384 for user george on this Solaris 10 SunFire Sparc server as follows:
$ uname -a
SunOS galactica 5.10 Generic_141444-09 sun4v sparc SUNW,SPARC-Enterprise-T5220
% id -p ... (3 Replies)
To find the whole size of a particular directory i use "du -sk /dirname".. but after finding the direcory's size how do i make conditions like if the size of the dir is more than 1 GB i hav to delete some of the files inside the dir (0 Replies)
Hi,
I am new to the linux kernel development area. I want to know what is the difference between kernel mode stack and user mode stack? Does each process has a user mode stack and a kernel mode stack?? Or Each process has a user mode stack and there is only one kernel mode stack that is shared by... (4 Replies)
Hi All,
I have set max stack size as 4KB for my thread, but it always using very less.
So I like to know what is the maximum stack size is used by my thread.
I tried with gcc -fstack-usage command line option, but its not supported by mips.
Kindly suggest me the way to find the max stack... (6 Replies)
I need to know what is the maximum stack size i.e. -Xss my java program is running with.
Is there a way to find that out from inside my java program code and outside of it.
What i am looking for is to read whatever the current set max limit -Xss (stack sie) is for a particular JVM(not... (3 Replies)
Hi all!
I've got a problem.
Primary: Sun Sparc V890, 64bit
Standby: HP-Proliant ML 350, 64bit
In the machine that I've got configured physical standby database, the alert_log_file point me one error:
Sat Feb 28 00:40:08 2009
ORA-00202: control file:... (5 Replies)