Skip to Content
author's profile photo
Former Member

e=28 semget(20038,1,2047) (28: No space left on device) on Solaris 10

We are running 5 SAP ECC 6.0 systems on Solaris 10 with the project definitions configured as mentioned in note 724713.

Now after the fifth system was installed, we have problems to start all of the systems.

The error can occur for either of the systems and in dev_disp it would say:

      • ERROR => e=28 semget(20038,1,2047) (28: No space left on device) [semux.c 928]

      • ERROR => CCMS: SemInit failed [alxxappl.c 610]

      • ERROR => CCMS: sAlInit: could not create/attach shared memory key 13 (rtc = 255) [alxx.c 1187]

      Before the fifth system was installed, we didn't experience any problems.

      Do we have to change the project definitions and if yes how?

      We have defined 5 projects (each system) with the following values for each project:

      SD2:200:SAP System SD2:orasd2,sd2adm::process.max-sem-nsems=(priv,2048,deny);project.max-sem-ids=(priv,1024,deny);project.max-shm-ids=(priv,256,deny);project.max-shm-memory=(priv,18446744073709551615,deny)

      Best Regards

      Walter

      Add comment
      10|10000 characters needed characters exceeded

      • Follow
      • Get RSS Feed

      5 Answers

      • Best Answer
        Oct 11, 2007 at 02:11 PM

        Hi Walter,

        do you have the users assigned to the project in /etc/user_attr?

        If yes, you'd need to increase max-shm-ids (1024).

        --

        Markus

        Add comment
        10|10000 characters needed characters exceeded

      • author's profile photo
        Former Member
        Oct 11, 2007 at 02:59 PM

        Thanks Markus

        Yes we have assigned the users:

        sd2adm::::project=SD2

        orasd2::::project=SD2

        How would you change the value? By deleting/readding the project or with projmod?

        Walter

        Add comment
        10|10000 characters needed characters exceeded

        • since the syntax of projmod is... ehm... "strange", I use the Solaris Management Console for that:

          login as root

          start "smc" (with DISPLAY set or on the console)

          wait a minute or two until smcwebserver is started

          configuration via SMC is pretty straightforward (system configuration - projects)

          However, you could also just delete with vi the entry in /etc/projects and create it new.

          --

          Markus

      • author's profile photo
        Former Member
        Oct 11, 2007 at 04:02 PM

        I have changed the project vith projmod it looks now like :

        htudv# projects -l `projects -d sd2adm`

        SD2

        projid : 200

        comment: "SAP System SD2"

        users : orasd2

        sd2adm

        groups : (none)

        attribs: process.max-sem-nsems=(priv,2048,deny)

        project.max-sem-ids=(priv,1024,deny)

        project.max-shm-ids=(priv,1024,deny)

        project.max-shm-memory=(priv,18446744073709551615,deny)

        htudv#

        But when I start SD2 I still get:

            • ERROR => e=28 semget(20038,1,2047) (28: No space left on device) [semux.c 928]

            • ERROR => CCMS: SemInit failed [alxxappl.c 610]

            And what confuses me is that all the processes started under sd2adm I watched with

            prctl -t privileged <pid> , have a value like

            project.max-shm-ids

            privileged 128 - deny ???

            Why not 1024 as defined in the project?

            BR

            Walter

            Add comment
            10|10000 characters needed characters exceeded

          • author's profile photo
            Former Member
            Oct 11, 2007 at 06:29 PM

            Thanks Markus

            The increase of max-shm-ids with for example

            projmod -s -K "project.max-shm-ids=(priv,1024,deny)" SD2

            as you pointed out in the first place, did help anyway!

            It looks like that the change was not effective right away but with some delay ... perhaps a synchronization issue?

            Cheers

            Walter

            Add comment
            10|10000 characters needed characters exceeded

          • author's profile photo
            Former Member
            Dec 09, 2015 at 08:36 AM

            Thank you Markus,

            It is helped me in a critical situation.

            Regards,

            Govardhan.

            Add comment
            10|10000 characters needed characters exceeded