mailru / graphite-nginx-module

An nginx module for collecting stats into Graphite
135 stars 34 forks source link

fix segv on convifuration reloading #46

Closed sorc1 closed 3 years ago

sorc1 commented 3 years ago

On failed of success reloading, there are cases when we use log objects which point on freed shared memory.

To prevent that, we should:

Also, we should alwayy update ngx_cleaner_event.log with the new log on success reloading.