Re: out of semaphore memory

New Message Reply Date view Thread view Subject view Author view

Stephen Maher (maher++at++holodeck.gsfc.nasa.gov)
Wed, 17 Jun 1998 10:31:50 -0400 (EDT)


Marko Srdanovic writes:
>
> Stephen Maher wrote:
> >
> > 11793 PF Fatal(12): semaphore initialization on queue 60cf3f00
> > failed. There wasn't enough memory left in the semaphore arena. You might
> > try allocating more semaphore arena memory.
> >
> I'm not exactly sure if that was the same error I was getting a while
> back, but it sounds similar to a problem I was having in a Vega app.
> Try setting the environment variable "PFSEMASIZE". There is a routine
> called pfSemaArenaSize() also. From the man page the default is 256MB.

This got me farther, thanks. (BTW, is there a good source for pf
environment variable info? I couldn't find reference to this guy
anywhere, including pfSharedMem(3pf)).

Now my general arena is not big enough and Performer is not letting
me enlarge it (surely from some other system limit, but I can't find it).

environment (systune info at bottom):

export PFTMPDIR=/usr/local/data2/pftmp (7.5GB free on this fs)
export PFSEMASIZE=500000000
export PFSHAREDSIZE=2000000000
export PFNFYLEVEL=7

execution: (summary: pfInitArenas allocates 1/8 of my request)

(assume "<pid> PF Info/SysErr(6):" in front of these messages)

PFSEMASIZE overriding size to 488281.25 KBytes
PFSHAREDSIZE overriding size to 2754034.00 KBytes

pfInitArenas() Could not mmap
        /usr/local/data2/pftmp/pfShmemFile.a0049h for size 0xa817c800 bytes at 0x0

pfInitArenas() Could not create shared arena of 2754034.00 KB;
        adjusting to 1377017.00 KB

pfInitArenas() Could not mmap
        /usr/local/data2/pftmp/pfShmemFile.a0049h for size 0x540be400 bytes at 0x0

pfInitArenas() Could not create shared arena of 1377017.00 KB;
        adjusting to 688508.50 KB

pfInitArenas() Could not mmap
        /usr/local/data2/pftmp/pfShmemFile.a0049h for size 0x2a05f200 bytes at 0x0

pfInitArenas() Could not create shared arena of 688508.50 KB;
        adjusting to 344254.25 KB

pfInitArenas() Allocated 344254KB: 0x43ef0000 - 0x58f1f900

Other system environment parameters

RAM=2GB

        rlimit_nofile_max = 2500 (0x9c4) ll
        rlimit_nofile_cur = 200 (0xc8) ll
        rlimit_rss_max = 2147483647 (0x7fffffff) ll
        rlimit_rss_cur = 2147483647 (0x7fffffff) ll
        rlimit_vmem_max = 9223372036854775807 (0x7fffffffffffffff) ll
        rlimit_vmem_cur = 9223372036854775807 (0x7fffffffffffffff) ll
        rlimit_core_max = 9223372036854775807 (0x7fffffffffffffff) ll
        rlimit_core_cur = 9223372036854775807 (0x7fffffffffffffff) ll
        rlimit_stack_max = 536870912 (0x20000000) ll
        rlimit_stack_cur = 67108864 (0x4000000) ll
        rlimit_data_max = 9223372036854775807 (0x7fffffffffffffff) ll
        rlimit_data_cur = 9223372036854775807 (0x7fffffffffffffff) ll
        rlimit_fsize_max = 9223372036854775807 (0x7fffffffffffffff) ll
        rlimit_fsize_cur = 9223372036854775807 (0x7fffffffffffffff) ll
        rlimit_cpu_max = 9223372036854775807 (0x7fffffffffffffff) ll
        rlimit_cpu_cur = 9223372036854775807 (0x7fffffffffffffff) ll

        sshmseg = 2000 (0x7d0)
        shmmni = 4000 (0xfa0)
        shmmin = 1 (0x1) ll
        shmmax = 1073741824 (0x40000000) ll

(PFTMPDIR)
Filesystem Type kbytes use avail %use Mounted on
/dev/xlv/xlv2 xfs 35558444 27643354 7915090 78 /usr/local/data2

Why does pfInitArenas back off?

Thanks for any tips ..

Steve

--
stephen.maher++at++gsfc.nasa.gov (301) 286-3368  fax:(301) 286-1776
http://holodeck.gsfc.nasa.gov/vr/vr.html
NASA Goddard Space Flight Center

======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:33 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.