> AutoVacuumShmem->av_signal[AutoVacForkFailed] = false; > pg_usleep(100000L); /* 100ms */ > > SendPostmasterSignal(PMSIGNAL_START_AUTOVAC_WORKER); > continue; > > Do these signals get cleaned up on a reload ?
Well, not on a reload specifically, but this signal is of prompt response (i.e. the postmaster acts immediately on it). See CheckPostmasterSignal. Also, note that this code starts a worker, not the launcher which is what you're seeing.
Ok, back to why
turns out template0 is the culprit, why is autovac not vacuuming this ?