cast const char * -> char *
log files are not re-opened
fix invalid signal

when on-the-fly-update runs,
master should alert SIGUSR2 to worker processes