I call shmget many times in my program, to get shm of of average size 85840 bytes. I obtain about 32771 shm ok, then shmget doesn't return a shm, but the error: "No space left on device".

I have increased the kernel limits to:

$ sysctl -A|grep shm
kernel.shmmax = 33554432
kernel.shmall = 1677721600
kernel.shmmni = 409600


But still get the issue. Why?

Do I have to put something into /etc/security/limits.conf too? I only have
"user             -       nofile          1000000"
because the program also opens about as many files as shms.

This is the output of free

$ free
          total       used       free     shared    buffers     cached
Mem:       8150236    7261676     888560          0     488100    3270792
-/+ buffers/cache:    3502784    4647452 
Swap:     12287992     554692   11733300


And ipcs

$ ipcs -lm                                                                         

------ Shared Memory Limits --------
max number of segments = 409600
max seg size (kbytes) = 1638400
max total shared memory (kbytes) = 6710886400
min seg size (bytes) = 1


Since I assume shm is capable of being swapped out, there should be enough space.


Question: Which parts of the Eclipse Platform, if any, adhere to ISO 9241?
Answer: In the 2007 Master thesis Exploring Usability Guidelines for Rich Internet Applications  Eclipse is mentioned as a tool used, but never in compliance with ISO 9241. The same goes for the Eclipse wiki, where Rich Client Platform is a big part. Nothing on ISO 9241 is mentioned on these pages. If you search for "ISO" you find reference to other standards such as 8807, ISO-8859-1 (8-bit single-byte coded graphic character sets used in web pages), 3166, 704, 9000 and more standards - but not 9241.

To conclude, it's a fair assumption that Eclipse Rich Client Platform is not complaint with ISO-9241. If it where, it would have been mentioned.