Results 1 to 5 of 5
  1. #1
    Join Date
    May 2005
    Location
    South Africa
    Posts
    1,365
    Provided Answers: 1

    Unanswered: shared memory on Linux

    How do I configure shared memory on Linux?

    The following error occure when starting ASE:
    kernel os_create_region: can't allocate 58077184 bytes
    kernel kbcreate: couldn't create kernel region.
    kernel kistartup: could not create shared memory

    # uname -a
    Linux linux 2.6.5-7.97-default #1 Fri Jul 2 14:21:59 UTC 2004 i686 i686 i386 GNU/Linux

    $ dataserver -v
    Adaptive Server Enterprise/15.0/EBF 12780 GA/P/Linux Intel/Linux 2.4.21-20.ELsmp i686/ase150/2158/32-bit/FBO/Fri Aug 19 23:16:13 2005

  2. #2
    Join Date
    Nov 2002
    Posts
    833

  3. #3
    Join Date
    May 2005
    Location
    Paris
    Posts
    46
    echo 500000000 > /proc/sys/kernel/shmmax

  4. #4
    Join Date
    Jan 2003
    Location
    Geneva, Switzerland
    Posts
    353
    It is *much* better to edit /etc/sysctl.conf, and to use /sbin/sysctl to update kernel parameters. That way you're guaranteed that the parameters will be reset at boot time.

    Michael

  5. #5
    Join Date
    May 2005
    Location
    South Africa
    Posts
    1,365
    Provided Answers: 1
    Thank you,

    I added
    kernel.shmmax=<the size in bytes>
    in
    /etc/sysctl.conf
    And ran /sbin/sysctl -p

    All OK now

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •