Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* ulimit question
@ 2002-06-19 13:43 Neil
  2002-06-19 15:03 ` Nick Hill
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Neil @ 2002-06-19 13:43 UTC (permalink / raw)


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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ulimit question
  2002-06-19 13:43 ulimit question Neil
@ 2002-06-19 15:03 ` Nick Hill
  2002-06-19 17:36 ` Neil
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Nick Hill @ 2002-06-19 15:03 UTC (permalink / raw)


Neil wrote:
> 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.
> 
> 

ulimit -a shows what the limits currently are, ulimit -Ha shows what 
they can be increased too.

These hard limits are set within the proc subsystem and can be adjusted 
by entries in sysconfigtab. If there are no entries in your sysconfigtab 
then you are getting the ones built into the kernel.

sysconfig -q proc will show the proc subsystem settings for the running 
kernel.

Nick Hill
CLRC e-Science centre
Rutherford Appleton Labs UK



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ulimit question
  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
  3 siblings, 0 replies; 6+ messages in thread
From: Neil @ 2002-06-19 17:36 UTC (permalink / raw)


when I issue sysconfig -q proc, I do see some of the parameters.
# sysconfig -q proc
proc:
max_proc_per_user = 256
max_threads_per_user = 1024
per_proc_stack_size = 8388608
max_per_proc_stack_size = 33554432
per_proc_data_size = 134217728
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 = 2048
num_wait_queues = 2048
num_timeout_hash_queues = 2048
enhanced_core_name = 0
enhanced_core_max_versions = 16
exec_disable_arg_limit = 0

But I still can't find the memory parameter which I am trying to increase.


"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.
>
>




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ulimit question
  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
  3 siblings, 0 replies; 6+ messages in thread
From: Steve Kitley @ 2002-06-19 20:14 UTC (permalink / raw)


Hi Neil:

This is a guess.  If you are trying to install Oracle 9i then run the
ulimit -d (datasize parameter) up to 1040000.  It worked for me.  How
to change the internal settings I do not know.

Hope the guess was right.

Steve










"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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ulimit question
  2002-06-19 13:43 ulimit question Neil
                   ` (2 preceding siblings ...)
  2002-06-19 20:14 ` Steve Kitley
@ 2002-06-20  7:59 ` Emmanuel Choquet
  2002-06-25 15:22   ` Neil
  3 siblings, 1 reply; 6+ messages in thread
From: Emmanuel Choquet @ 2002-06-20  7:59 UTC (permalink / raw)


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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ulimit question
  2002-06-20  7:59 ` Emmanuel Choquet
@ 2002-06-25 15:22   ` Neil
  0 siblings, 0 replies; 6+ messages in thread
From: Neil @ 2002-06-25 15:22 UTC (permalink / raw)


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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-06-25 15:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox