| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to PERMANENTLY set semaphores in Linux - Suse Personal Edition 8.2?
<linuxquestion_at_yahoo.com> wrote in message
news:672ceaed.0311130006.36cf8f24_at_posting.google.com...
> HI all,
>
> I'm using: Linux Suse personal edition 8.2
>
> I am using the dbca with Oracle 9.2. It keeps
> running out of memory with the ora-27123 error.
>
> As the docs said, I did this:
>
> echo `expr 2048 \* 1024 \* 1024` > /proc/sys/kernel/shmmax
>
> cat /proc/sys/kernel/shmmax
> 2147483648
>
> reboot
>
> ---------------
>
> But, then I got the same symptom.
> I checked the file.
>
> cat /proc/sys/kernel/shmmax
> 33554432
Obviously so. /proc/sys/kernel is a virtual file system, and gets reset every time you reboot.
The fix is either to compile the required values into the kernel to start with (rather a long-winded approach) or to edit a script to make the 'echo' command execute at each reboot. On Red Hat and Mandrake, that's done by editing /etc/sysctl.conf. But it may well be a different name on SuSe.
Regards
HJR
Received on Thu Nov 13 2003 - 04:41:36 CST
![]() |
![]() |