Results 1 to 4 of 4
I am using solaris 10 for oracles. we created shell script to install oracle on solaris.
while setting shm_max for default project i am getting an error
prctl -n project.max-shm-memory ...
- 11-23-2009 #1Just Joined!
- Join Date
- Nov 2009
- Posts
- 2
seting shm_max
I am using solaris 10 for oracles. we created shell script to install oracle on solaris.
while setting shm_max for default project i am getting an error
prctl -n project.max-shm-memory -v 400gb -r -i project default
ERROR : prctl: default: No controllable process found in task, project, or zone.
to resolve this error i need to open one session for user whose project is set to default.
1. need to open / login to another user who it set to default project
su - oracle <<EOF!
2. set shm_max with root user permission
prctl -n project.max-shm-memory -v 400gb -r -i project default
is there a way to do both task from sigle script, i am executing scripts with root user permission and need to open an session in backgroud for user oracle.
thanks
Sachin
- 11-23-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Well, this is not a Solaris forum. Have you looked for help on the Sun or Oracle web sites?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 11-24-2009 #3Just Joined!
- Join Date
- Nov 2009
- Posts
- 2
Thanks Rubberman,
we need to set same parameters and project on linux as well. i thought someone allready gone through similar issue on linux as well.
- 11-24-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
You can alter the system shmmax parameter with the sysctl tool. Look at the man page for systcl, the file /etc/sysctl.conf, and the header file /usr/include/linux/shm.h for more information.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote