6 Replies Latest reply: Jul 12, 2014 10:38 AM by oelk0 RSS

    XE11: Calculating shmall and shmmax for 64b linux

    oelk0

      Hello,

      installing XE11 on a 64b linux gives me  a message like 'unexpected nummer' or '

      'expect  a integer value'

       

      shmall and shmmax is set to

       

      kernel.shmall = 1152921504606846720

      kernel.shmmax = 18446744073709551615

       

      from the os.

      shmmax seems to big for calculating:

       

      This is what the installation does:

      ########################################

      shmmax=`cat /proc/sys/kernel/shmmax`

      changeshmmax=no  

      if [ $shmmax -lt 4294967295 ]

      then

          shmmax=4294967295

          changeshmmax=yes

      fi

      if [ "$changeshmmax" != "no" ]

      then

          /sbin/sysctl -w kernel.shmmax="4294967295" >> /etc/sysctl.conf

      fi

      ########################################

       

      How can i calcutlate and set correct values for shmall and shmmax for XE11?

       

      OS is openSUSE 13.1 64bit, machine has 4GB memory, but it seems to be the same in all 64bit

      distributions.

       

      Best regards.