On Sun, Jan 28, 2018 at 8:23 PM, Jim Jagielski <[email protected]> wrote: > > >> On Jan 27, 2018, at 9:14 AM, Yann Ylavic <[email protected]> wrote: >> But this change (r1822341) means that SHMs are not reused on graceful >> restart, unless persisted. > > If that's the case, then that's a non-starter. Are you sure?
Quite yes (tested actually), a new filename is generated at each restart, so there is nothing to reuse in the list nor an SHM to attach to. We could use the name instead of the filename to identify them in the list, but anyway the key is to persist the list accross restarts (ap_pglobal and so on...). I proposed a patch in bz (seems to work from my testing), not as light as I would have hoped, but not completely insane either IMHO :) WDYT?
