From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,7021eaeb30a6ca19 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-07-10 18:29:41 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!news-west.rr.com!news.rr.com!cyclone.kc.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!twister.columbus.rr.com.POSTED!not-for-mail From: Jack Patteeuw User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: help on hard setting ulimit -m "max memory size (kbytes)" References: <57a4320a.0307092117.2a9f9ae4@posting.google.com> In-Reply-To: <57a4320a.0307092117.2a9f9ae4@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <8qoPa.150720$BA.51732938@twister.columbus.rr.com> Date: Fri, 11 Jul 2003 01:29:40 GMT NNTP-Posting-Host: 24.208.249.109 X-Complaints-To: abuse@rr.com X-Trace: twister.columbus.rr.com 1057886980 24.208.249.109 (Thu, 10 Jul 2003 21:29:40 EDT) NNTP-Posting-Date: Thu, 10 Jul 2003 21:29:40 EDT Organization: Road Runner High Speed Online -- Columbus Xref: archiver1.google.com comp.unix.tru64:10195 man dxkernletuner Brian Stevens wrote: > As part of an Oracle installation on an Alpha DS10 running Tru64 5.1A > PK2 I need to increase some process > limits via ulimit, specifically "max memory size (kbytes)" > > can someone please tell me what is the "sysconfig proc subsystem" > counterpart of the max memory size (kbytes) shown by issuing the > command "ulimit -a" or "ulimit -m" command. I want to set this as a > hard limit > in proc subsystem (I assume this is where I make the change) and don't > know > which parameter to change ! Is it a combination of parameters ? > It's probably straightforward but I can't find out where to do this in > the Tru64 doco !! > > (using bash shell) > > oracle@aran /opt/oracle/product >ulimit -H -m > 1014584 > > oracle@aran /opt/oracle/product >ulimit -S -m > 1014584 > > I want to increase it to say 2045680 > > oracle@aran /opt/oracle/product >ulimit -m 2045680 > bash: ulimit: cannot modify limit: Not owner > > I'm obviously hitting some hard limit here ! > > Logged in as root I can seem to do this by issuing > > bash-2.05# ulimit -m 2045680 > bash-2.05# > > but it doesn't actually seem to change ! > > bash-2.05# ulimit -m > 1014584 > > Results from sysconfig command: > > bash-2.05# sysconfig -q proc > proc: > max_proc_per_user = 256 > max_threads_per_user = 1024 > per_proc_stack_size = 33554432 > max_per_proc_stack_size = 33554432 > per_proc_data_size = 536870912 > 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 > dump_cores = 1 > dump_setugid_cores = 0 > > > Any help appreciated, as I'm getting frustrated !