Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Kernel memory parameters
@ 2001-02-15 22:55 Jo�p Repas Gon�alves
  2001-02-16  9:27 ` Tobias Ernst
  0 siblings, 1 reply; 4+ messages in thread
From: Jo�p Repas Gon�alves @ 2001-02-15 22:55 UTC (permalink / raw)


I'm running True64 v.5 and Oracle 8.
Because we have performance problems with some select statements which need
sort, we decided to set the Oracle parameter SORT_AREA_SIZE from 20MBytes to
50 MBytes.
After running the same complex SQL statement we got the following message:
ORA-04030: out of process memory when trying to allocate 4128 bytes
(callheap, sortarea)
ORA-07324: smpall: malloc error while allocating pga.
Digital Unix Error: 12: Not enough space

Which kernel parameters should I change in order to run the query without
memory problems.




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

* Kernel memory parameters
  2001-02-15 22:55 Kernel memory parameters Jo�p Repas Gon�alves
@ 2001-02-16  9:27 ` Tobias Ernst
  2001-02-16 10:29   ` Pedro M. Matias
  0 siblings, 1 reply; 4+ messages in thread
From: Tobias Ernst @ 2001-02-16  9:27 UTC (permalink / raw)


Hallo Jo�p!

 JRG> Which kernel parameters should I change in order to run the 
 JRG> query without memory problems.

You shoudl set "ulimit -d unlimited" and "ulimit -m unlimited" before 
running the program that queries large amounts of memory. You must run 
this in the same shell where the program is started, i.E. write a shell 
script that first runs these and then runs the program.

Also note that due to the virtual memory strategy of Tru64, you need at 
least the same amount of swap space as you have memory installed, 
better twice that amount. Even if the swap space will not be used at 
all, you need it in order to be able to allocate the full amount of 
your physical memory. Tru64 wants to be sure it can always swap out 
everything if need should be.

Viele Gr��e,
Tobias



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

* Re: Kernel memory parameters
  2001-02-16  9:27 ` Tobias Ernst
@ 2001-02-16 10:29   ` Pedro M. Matias
  2001-02-17 10:54     ` Jack Patteeuw
  0 siblings, 1 reply; 4+ messages in thread
From: Pedro M. Matias @ 2001-02-16 10:29 UTC (permalink / raw)




Tobias Ernst wrote:

> Hallo Jo�p!
>
>  JRG> Which kernel parameters should I change in order to run the
>  JRG> query without memory problems.
>
> You shoudl set "ulimit -d unlimited" and "ulimit -m unlimited" before
> running the program that queries large amounts of memory. You must run
> this in the same shell where the program is started, i.E. write a shell
> script that first runs these and then runs the program.
>

Please note that ulimit only works if you're using /bin/sh, the Bourne
shell. If you're using
/bin/csh or /bin/tcsh you need to use the command limit instead.

Pedro.




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

* Re: Kernel memory parameters
  2001-02-16 10:29   ` Pedro M. Matias
@ 2001-02-17 10:54     ` Jack Patteeuw
  0 siblings, 0 replies; 4+ messages in thread
From: Jack Patteeuw @ 2001-02-17 10:54 UTC (permalink / raw)


ulimit is in /usr/bin/ksh also

If your using /bin/csh do not use /usr/bin/ulimit !!

Jack Patteeuw

"Pedro M. Matias" wrote:
> Please note that ulimit only works if you're using /bin/sh, the Bourne
> shell. If you're using
> /bin/csh or /bin/tcsh you need to use the command limit instead.
> 
> Pedro.


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

end of thread, other threads:[~2001-02-17 10:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-15 22:55 Kernel memory parameters Jo�p Repas Gon�alves
2001-02-16  9:27 ` Tobias Ernst
2001-02-16 10:29   ` Pedro M. Matias
2001-02-17 10:54     ` Jack Patteeuw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox