Women in Technology

Hear us Roar



Article:
  Installing Oracle 9i on Mac OS X, Part 3
Subject:   Problems installing Oracle on a Dual Proc G5
Date:   2004-02-10 00:02:37
From:   nettdata
Response to: Problems installing Oracle on a Dual Proc G5

I had the exact same problem, and found that it was caused by the kernel setting the maximum processes per user limit at 100.


You could run the "ulimit -u 500" command and it would seem to work, but the value wouldn't change. If you ran the command again, it would spit back an error that said "operation not allowed".


The trick is to be able to set the max proc allowed limit to something higher than the default 100.



10.3 allows the use of the /etc/sysctl.conf file to set the initial kernel parameters at boot time.


It didn't exist on my system, so (as root) I created it with the following 2 lines:


kern.maxprocperuid=512
kern.maxproc=2048


After a reboot, I can then launch a bash shell and the user can increase their max allowed processes to 512 or less.


I set this up automatically in the .bashrc script for the user, so that whenever the bash script was launced it ran the following command:


ulimit -u 500



This solved all my problems, and hopefully it'll help others that may run into the same issue.


Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Problems installing Oracle on a Dual Proc G5
    2004-02-14 13:55:48  boomkap [View]

    On the OS 10.2 jaguar it looks like the /etc/sysctl.conf file gets ignored. Looks like there is hardlimit set in 10.2. I could not set the number via the sysctl -w command.
    When the Oracle instance is started there should be only 5 processes. I am surprised how by changing the number of user processes fixed that as the default is 100 and only 5 are required to get the instance up.
    • Problems installing Oracle on a Dual Proc G5
      2004-02-16 15:35:46  boomkap [View]

      I upgraded to Panther and was still not able to get an Oracle instance up successfully. I changed the ulimit to set to 500 successfully. I still get a floating point exception. Any ideas on what else i should try