From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,47eb08ec978c4bf X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-06-20 00:59:19 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: emmanuel.choquet@hp.com (Emmanuel Choquet) Newsgroups: comp.unix.tru64 Subject: Re: ulimit question Date: 20 Jun 2002 00:59:19 -0700 Organization: http://groups.google.com/ Message-ID: <7aabdf42.0206192359.62aa605f@posting.google.com> References: NNTP-Posting-Host: 161.114.126.52 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1024559959 26545 127.0.0.1 (20 Jun 2002 07:59:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 20 Jun 2002 07:59:19 GMT Xref: archiver1.google.com comp.unix.tru64:7964 Hi neil, vmemory and data are the right parameters. Forget memory, by default there is no real memory (RAM) usage limit - but you can enforce it by anon_rss_enforce in sysconfigtab vm subsystem, see man sys_attrs_vm for details. the max vm space you can get in a process is controlled by two parameters : First one, virtual address space itself # sysconfig -q proc | grep add max_per_proc_address_space = 1179869184 per_proc_address_space = 4294967296 These are actual default and max values. But generally, most of the vm space of a process is used by data segment (bss consumed by malloc calls, and/or shared memory segment). Therefore the second parameter involved is : # sysconfig -q proc | grep data per_proc_data_size = 134217728 max_per_proc_data_size = 1179869184 If you have a reasonably configured system in RAM, which is normally the case in Oracle servers, set the default you need in the sysconfigtab itself. If you are short on memory, set the limit using ulimit -d xxx and ulimit -v xxx in the oracle user .profile file. This will save you some wired memory (non pageable memory of the kernel, where page table entry for processes are stored ) Hope this help, Cheers, "Neil" wrote in message news:... > If I do a ulimit -a I get the following. > > time(seconds) unlimited > file(blocks) unlimited > data(kbytes) 131072 > stack(kbytes) 8192 > memory(kbytes) 2042296 > coredump(blocks) 0 > nofiles(descriptors) 4096 > vmemory(kbytes) 4194304 > > When I try and increase, the memory, vmemory,data. I get the following > error. > > /bin/ulimit[22]: ulimit: exceeds allowable limit > > Where are the paramters that I am exceeding set? I can not find them in the > sysconfigtab. > I have tried using dxkerneltuner, but can't find them in there either. > > I need to be able to double most of these parameters. Could some shed some > light on this for me. > > Any help is appreciated. > > Thanks.