#!/bin/sh # # set_shmmax This shell script takes care of setting shared memory # maximum for Oracle's use. # # chkconfig: 2345 2 30 # description: This startup script tries to set the kernel parameter for shared memory max for Oracle's use echo "Setting shared memory max for Oracle" echo 268435456 > /proc/sys/kernel/shmmax echo 250 32000 100 128 > /proc/sys/kernel/sem