Обсуждение: Signal Handling

Поиск
Список
Период
Сортировка

Signal Handling

От
Trevor Astrope
Дата:
Hello,

Is it possible in 7.1.3 to send the postmaster a signal that would cause
it to send a SIGTERM to all it's children, but wouldn't cause the
postmaster to exit?

You used to be able to do this back in 6.5.2 with SIGQUIT, but the docs
only seem to indicate that you can only cause the postmaster to exit along
with it's children in 7.1.3. I presume this was removed for a good
reason...

I have a problem with waiting processes, especially during vacuums and i'd
like to use a script to just kill off all the children when this occures.
Do I have to kill the children manually, or is using pg_ctl to restart the
postmaster a better idea?


Thanks,

Trevor