forked from arcivanov/nginx-upstream-dynamic-servers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix some segfaults caused when lots of DNS changes occur.
Unfortunately, I can't figure out how to add a reproducible test case around this in this isolated environment, but these fixes seem to mostly fix this. However, while this seems to fix the majority of segfaults, there still seems to be some more rare worker segfaults that can crop up when keepalive is enabled and lots of DNS changes are happening under a high request load. Still trying to figure out the best way to solve that.
- Loading branch information
Showing
1 changed file
with
26 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters