On Fri, Dec 11, 2020 at 5:43 PM 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). s/kernel.sem/kernel.shm*/ for SHMs obviously ;) > > > Regards; > Yann. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx