From: "Neil" <mebos2@casitron.com>
Subject: Re: ulimit question
Date: Tue, 25 Jun 2002 11:22:59 -0400 [thread overview]
Message-ID: <5Y%R8.2167$z_5.416238@news20.bellglobal.com> (raw)
In-Reply-To: 7aabdf42.0206192359.62aa605f@posting.google.com
Thank you for your help.
"Emmanuel Choquet" <emmanuel.choquet@hp.com> 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" <mebos2@casitron.com> wrote in message
news:<xW%P8.3114$Rf7.1033151@news20.bellglobal.com>...
> > 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.
prev parent reply other threads:[~2002-06-25 15:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-19 13:43 ulimit question Neil
2002-06-19 15:03 ` Nick Hill
2002-06-19 17:36 ` Neil
2002-06-19 20:14 ` Steve Kitley
2002-06-20 7:59 ` Emmanuel Choquet
2002-06-25 15:22 ` Neil [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox