News for hackers. Stuff that matters.
Re:OS X Lion Now Available in the US Mac App Store by ojosilva on Thursday July 21, 2011 @02:23AM (#2788677)
I'm on SL and I also depend on Oracle 10g, so thanks for the note on the Seg Fault, that would be showstopper moving to Lion.

Now, I get the ulimit error on SL too, that's just that your "oracle" user is not authorized to set ulimit that high (it's in your oracle ~/.bashrc). You probably followed the installation instructions from Pythian (http://www.pythian.com/news/1937/quick-install-guide-for-ora...), just like I did. If you didn't get that error before, maybe the Lion installation has reset the max processes limit.

Here's how to check the current value:

  ojosilva@snow:~$ sysctl kern.maxprocperuid
  kern.maxprocperuid: 266
Change it like this (so it matches the ulimit -Su and -Hu values in oracle's .bashrc):

  sudo sysctl -w kern.maxprocperuid=512
Maybe that will cure your segfault. Read thru the Pythian page and recheck all your sysctl parameters. Let me know how it goes.

There are no comments on this comment yet.