Re: APR_USE_SHMEM_SHMGET 0-1 option.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Yann.

On Fri, Dec 11, 2020, 11:44 AM Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
On Fri, Dec 11, 2020 at 5:10 PM Wendell Hatcher
<wendellhatcher1074@xxxxxxxxx> wrote:
>
> Hi  All,  quick question. The APR_USE_SHMEM_SHMGET defined option within the shm.c file what does it do exactly and can we set the option to 0 or 1? What would the setting of the option  to those values effect?

It's defined (in lib APR) by the ./configure script (autoconf) based
on its availability, and is the default on unix(es) systems (where IPC
SysV shared memories are usually/always implemented).

This can't be defined explicitly (./configure will overwrite it) but
it's possible to select the POSIX semaphores mechanism instead with
"./configure --enable-posix-shm ...", which is usually a good
alternative "suffering" less from system limits than IPC SysV, since
limits are then the filesystem's maximum number of inodes (as opposed
to SysV's kernel.sem=... settings).


Regards;
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux