John Martin wrote:
> Run "echo shminfo_shmmax | mdb -k" to see how big a shm segment can be.
> We started seeing a lot of the above errors when we switched the desktop
> default from 8 to 24 bit (32 bits/pixel). The default wasn't enough for
> 32 bit/pixel images.
As of Solaris 10, we use resource controls to limit the amount of
shared memory users can allocate. The above no longer gives
meaningful results. Instead use (as any user):
$ prctl -n project.max-shm-memory $$
and note that the limit is a limit on the total amount of shared
memory a project can allocate (i.e. it is no longer a system-wide
limit on individual segment sizes).
See http://www.opensolaris.org/os/project/rm/rctls/sysv/ for more
information on this change.
Dave