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-25 08:33:05 PST From: "Neil" Newsgroups: comp.unix.tru64 References: <7aabdf42.0206192359.62aa605f@posting.google.com> Subject: Re: ulimit question X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: <5Y%R8.2167$z_5.416238@news20.bellglobal.com> Date: Tue, 25 Jun 2002 11:22:59 -0400 NNTP-Posting-Host: 64.231.203.203 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1025018753 64.231.203.203 (Tue, 25 Jun 2002 11:25:53 EDT) NNTP-Posting-Date: Tue, 25 Jun 2002 11:25:53 EDT Organization: Bell Sympatico Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Xref: archiver1.google.com comp.unix.tru64:7995 Thank you for your help. "Emmanuel Choquet" wrote in message news:7aabdf42.0206192359.62aa605f@posting.google.com... > 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.