From: Anil Rajapure (anil_unix1975@yahoo.com)
Date: Wed Oct 23 2002 - 08:29:57 EDT
Thanks to all those replied.
Cyrille MAUCCI , TOTSCH,DAVID and Eef Hartman
Bill's response was most accurate. I advised my dba to run the program in steps
so that it does not cross limit of 900-1750 MB. (It is 32 bit program)
Thanks again.
Bill Hassell <pooderbill@mindspring.com> wrote:If you can control the application (you can rewrite, compile and link the
program), then change it to a 64bit program and all memory address limitations
disappear.
If you cannot control the program (and it is a 32bit program), then your
shared memory area is simply full of other segments from other programs and
fragmentation has limited the largest size of a single shared memory segment.
So even if there are ten 100meg areas, you may get ENOMEM when requesting a
200meg segment.
The workaround is to setup memory windows, thus giving specific programs their
own shared memory area, a full 900 to 1750 meg area. The details are in the
shared memory whitepapers found at docs.hp.com
On Wed, 23 Oct 2002 02:55:27 -0700 (PDT) Anil Rajapure
wrote:
> what is the work around for this. my
> maxdsiz,maxtsiz and it's 64 bit settings all
> are 1GB. Only maxssiz and maxssiz_64bit is 8MB.
> Even increasing maxssiz will not help.
maxssiz has nothing to do with shared memory. It is the stack, a separate
memory area. Memory for a program is divided into 3 different parts: program
code (aka, text area), data area and the program's stack area. A 32bit program
has 1Gb assigned to each area (minus some mapping space), and shared memory is
separate from the program because it is shared--but uses a similar 1Gb space.
SHARED MAGIC is a compiler/linker or chatr feature that can hook two areas
together for up to 1750 megs. But the details are complex for 32bit programs.
-- Best regards, Bill Hassell, pooderbill@mindspring.com --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:21 EDT