ulimit - memory: follow up

From: Karl Stang (karl.stang_at_mci.com)
Date: 12/22/03

  • Next message: ldg_at_ulysium.net: "summary: quick shell scripting question: followup"
    Date: Mon, 22 Dec 2003 12:38:58 -0700
    To: tru64-unix-managers@ornl.gov
    
    

    Just wanted to post a follow up to my earlier posting. But first I want to
    thanks everyone who took the time to respond with feedback.

    The reason ulimit -a is only showing one gig form memory when the
    max_per_proc_address_space value is four gig is due to the fact that the
    server only has one gig of physical memory. I opened an iTAR with Oracle to
    inquire why their installer was posting a warning message to my screen
    recommending at least two gig of memory (when the Oracle 9i Tru64 install
    doc only mentions a minimum of 512 physical memory). The response I got was
    mostly "we aren't sure" but they think if certain ulimit values (including
    memory) are not set to "unlimited" the warning message will appear during
    the install.

    Karl

    -----Original Message-----
    From: Karl Stang [mailto:karl.stang@mci.com]
    Sent: Thursday, December 18, 2003 3:47 PM
    To: tru64-unix-managers@ornl.gov
    Subject: ulimit - memory

    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


  • Next message: ldg_at_ulysium.net: "summary: quick shell scripting question: followup"

    Relevant Pages