Operating System - HP-UX
1752793 Members
5893 Online
108789 Solutions
New Discussion юеВ

Re: Memory segment error.

 

Re: Memory segment error.

thanks, but if I go back and ask about (Failed to get another shared memory segment (required size=100761552 bytes)

What does it mean by required size=100761552 bytes ? where is this required size?
Kapil Jha
Honored Contributor

Re: Memory segment error.

@Dennis>> how do we find whether its using 32bit address space or 64 bit.
I could not find this out.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Dennis Handly
Acclaimed Contributor

Re: Memory segment error.

>What does it mean by required size=100761552 bytes?

The application is trying to tell you the size it wants but didn't get.

>Kapil: how do we find whether its using 32bit address space or 64 bit.

You can do a file(1) on the executable, if 32 then it's 32. If 64, then you must use tusc to see if it wants to share a 32 bit address space, shmget(2) with IPC_SHARE32.

You can also look at the address to find if it is 32 or 64 bit.
Horia Chirculescu
Honored Contributor

Re: Memory segment error.

@Dennis

>You can do a file(1) on the executable, if 32 then it's 32.

Sample:

#file /oraprod/prod/oracle/product/805/bin/oracle
/oraprod/prod/oracle/product/805/bin/oracle: PA-RISC1.1 shared executable dynamically linked -not stripped

Can you tell from file() output it is 32 bit or 64 bit executable? What would be your guess on this executable?

Horia.
Best regards from Romania,
Horia.
Dennis Handly
Acclaimed Contributor

Re: Memory segment error.

>Horia: PA-RISC1.1 shared executable dynamically linked -not stripped

>Can you tell from file output it is 32 bit or 64 bit executable?

PA1.1 can only do 32 bit mode. For more, see my reply here:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1160370
Horia Chirculescu
Honored Contributor

Re: Memory segment error.

@Dennis:>PA1.1 can only do 32 bit mode.

What do you think about this:

# file /oraprod/prod/oracle/product/805/bin/oracle
/oraprod/prod/oracle/product/805/bin/oracle: PA-RISC1.1 shared executable dynamically linked -not stripped

# su - ora9prod
You have mail.
$ sqlplus /nolog

SQL*Plus: Release 9.2.0.4.0 - Production on Mon Feb 22 12:24:47 2010

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

SQL> connect / as sysdba;
Connected.
SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
$

Horia.
Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor

Re: Memory segment error.

.. and:

$ getconf HW_CPU_SUPP_BITS
64

Horia.
Best regards from Romania,
Horia.
Dennis Handly
Acclaimed Contributor

Re: Memory segment error.

>Horia: What do you think about this:
>oracle: PA-RISC1.1

Strangely this didn't change, still 32. :-)

>$ sqlplus /nolog
>Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit

This claims to be 64 bit.
Dennis Handly
Acclaimed Contributor

Re: Memory segment error.

>Horia: getconf HW_CPU_SUPP_BITS -> 64

Since this always returns "black" (on Integrity or 11.23), it is a waste of time using it, unless you have 11.11 and an obsolete PA1.1 box or one that still allows a 32 bit kernel.
Horia Chirculescu
Honored Contributor

Re: Memory segment error.

$ file /stand/vmunix
/stand/vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64)
Best regards from Romania,
Horia.