Re: Ick: Setting shared memory segment size (fwd)

Jim Nance (jlnance@avanticorp.com)
Wed, 1 Jan 1997 07:24:49 -0500 (EST)


Forwarded message:

[about setting max shared mem size ]

> The author continues with Solaris settings suggesting that the
> share memory maximum can be changed in an /etc/system configuration
> file.
>
> You still need to reboot the machine for this to take effect. But I
> agree it should be a /proc tunable if possible.

Just out of curisoity (no I cant spell), what forces there to be a limit
on max shared mem sizes in the first place. I *THINK* that 2 processes
can mmap() a file with MAP_SHARED and get any size of shared memory region
that they want. If this is true, what is different about the shm*
functions?

Thanks,

Jim