We're doing a graceful restart of our Apache server processes on the first day of every month. Usually it works fine. But this month one of our servers seemed to ignore that. We noticed it because the first few days of December were missing from the log files (which are NEW log files, the old ones being deleted after the graceful restart). This would be expected if the Apache processes ignored the graceful restart (i.e. the USR1 signal sent from Apache parent to all of its children) and kept on running, writing to the old (i.e. now deleted) log files. But the documentation ( https://httpd.apache.org/docs/current/stopping.html ) does not say anything about ignoring the signal and I don't know what circumstances would lead to that. Since the documentation says the USR1 signal advise[s] the children to exit after their current request
, I guess ignoring it possible. The affected Apache is version 2.2.31.
0 Answers