ulimit - memory

From: Karl Stang (karl.stang@mci.com)
Date: Thu Dec 18 2003 - 17:46:48 EST


I need to apply an Oracle patch on a V5.1 Tru64 server that I recently
became responsible for. Oracle says I need to increase my data and memory
ulimits. I was able to increase the data limit, but when attempting to
increase the memory ulimit I get:

server prompt> ulimit -m 2045680
ksh: ulimit: exceeds allowable limit

It is my understanding that max_per_proc_address_space is the kernel setting
for the hard limit, but it is set to 4,294,967,296. Searches on Google and
Oracle's knowledge base have not been fruitful. What am I missing? Thanks
in advance.

server prompt> ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 32768
memory(kbytes) 1016368
coredump(blocks) unlimited
nofiles(descriptors) 4096
vmemory(kbytes) 4194304

server prompt> ulimit -Hm
1016368

server prompt> /sbin/sysconfig -q proc
proc:
max_proc_per_user = 64
max_threads_per_user = 256
per_proc_stack_size = 33554432
max_per_proc_stack_size = 33554432
per_proc_data_size = 201326592
max_per_proc_data_size = 1073741824
max_per_proc_address_space = 4294967296
per_proc_address_space = 4294967296
executable_stack = 0
autonice = 0
autonice_time = 600
autonice_penalty = 4
open_max_soft = 4096
open_max_hard = 4096
ncallout_alloc_size = 8192
round_robin_switch_rate = 0
sched_min_idle = 0
give_boost = 1
maxusers = 1024
num_wait_queues = 1024
num_timeout_hash_queues = 1024
enhanced_core_name = 0
enhanced_core_max_versions = 16
exec_disable_arg_limit = 0

Karl Stang
Enterprise Production Services DBA
karl.stang@mci.com
v622 - 0144
(719) 265 - 0144
1-800-PAGE-MCI #1144974



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:46 EDT