Re: Shared Memory on linux

New Message Reply Date view Thread view Subject view Author view

From: Robert Belleman (robbel++at++science.uva.nl)
Date: 10/08/2001 03:33:41


Johan,

Try increasing Linux' shared mem maximum; as root, type

  $ echo [size-in-bytes] > /proc/sys/kernel/shmmax

-- Rob

-- 
[] Robert Belleman         X  Section Computational Science            []
[] robbel++at++science.uva.nl  |X| University of Amsterdam, the Netherlands []
[] tel: (+31) 20 525 7510  X  http://www.science.uva.nl/~robbel/       []

On Tue, Oct 02, 2001 at 02:20:29PM +0200, Johan Nouvel wrote: > Hello, > > I'm working on a linux system (kernel 2.4.10) with 1.5GB RAM. > I can't allocate 1G (or more) for the shared arena. > setenv PFSHAREDSIZE 900000000 works > setenv PFSHAREDSIZE 1500000000 does not work > > The error message : > > > >PF Warning/Internal: perror: Success > >PF Warning/SysErr: Could not mmap file > /demos/pfutil16653.pfdpool for arena of size 164912 > >PF Warning/SysErr: pfDataPool::create() by pid 16653 could not > make arena /demos/pfutil16653.pfdpool of size 131072 > >PF Fatal/Resource: pfuInit(): could not make pfUtil Data Pool! > > > The limits seem to be ok (I can allocate all the memory I need) : > >limit > >cputime unlimited > >filesize unlimited > >datasize unlimited > >stacksize 8192 kbytes > >coredumpsize 0 kbytes > >memoryuse unlimited > >descriptors 1024 > >memorylocked unlimited > >maxproc 12287 > >openfiles 1024 > > I've found the script posted by Ran Yakir but it is for IRIX system. > > Has someone translate the script for Linux ? > Should I change some of the system limits ? Is there a specific performer > variable to set ? > Any other idea, solution ? > > Thanks a lot, > Johan. > ----------------------------------------------------------------------- > List Archives, FAQ, FTP: http://www.sgi.com/software/performer/ > Open Development Project: http://oss.sgi.com/projects/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 2b29 : Mon Oct 08 2001 - 03:36:21 PDT

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