[info-performer] Shared memory

Date view Thread view Subject view Author view

From: Luc Leblanc (leblanc++at++adacelcanada.com)
Date: 01/26/2004 12:33:06


Hi,

I'm having problem allocating more than 1 Gig. of shared memory (using
PFSHAREDBASE and PFSHAREDSIZE) when my application is running in realtime (as
root). I have successfully use the "remaplibs" application and was able to
get up to 1.7 Gig but only when my application is not running as root. As
soon as I turned on the sticky bit, my application refuse to use the base
adress specify with PFSHAREDBASE (and revert back to the default 0x40000000).

This is a Performer 2.2 application running on IRIX 6.5.5 on an Onyx 2 IR2.
My settings are:

setenv PFSHAREDBASE 0x18000000
setenv PFSHAREDSIZE 1700000000
setenv PFNFYLEVEL 6

The LD_LIBRARYN32_PATH variable is also set properly to use the remapped
libraries. As mentionned before, these settings work when the application is
not running in realtime.

The permissions on the files are (when it does not work):

-rwsr-xr-x 1 root sys 6755184 Dec 3 15:25 myapp*

Anyone can help me with this?

Thanks in advance.

Luc Leblanc


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Jan 26 2004 - 12:38:22 PST