Symptom
Global Traffic Drop
The Investigation
Fastly engineers noticed the outage correlated perfectly with a customer pushing a configuration change. The configuration change itself was entirely valid, but it triggered a dormant bug in the edge software.
if (req.http.Fastly-FF) {
set req.http.Fastly-FF = regsub(req.http.Fastly-FF, "^[^,]+,?", "");
}
Root Cause
The edge servers compile customer VCL down to native C code for performance. A bug in the C compiler logic caused the resulting executable to segfault when parsing a specific regex.
Resolution
Timeline
-
1
Global 503 errors spike across 85% of network.
— System
-
2
Identified the customer configuration causing the compiler segfault.
— Engineers
-
3
Disabled the specific customer configuration, edge POPs recovered.
— Engineers
Discussions 0