Issue with Cache Preload
-
Wanted to make your team aware of an apparent issue with Cache Preload. It appears that Cache Preload, when triggered has been making 6 requests to every URL on our site, swamping my CPU for upwards to an hour. Every day, between 6:00am (Pacific) until about 7:00am, my server receives a storm of traffic from the local host IP address. Each request appears to be coming from its own thread. (see the consecutive port selected).
I’ve been observing this behavior for the last couple of weeks, as it’s been consistent for the time window on a daily basis.
It’s not a resource issue, as that Virtual Host has a 4 processor core with 16gb of memory. Apache and php-fm has been optimized for maximum performance. Firewall rate-limits are bypassed due to the fact that the traffic is coming from behind the firewall. (I don’t throttle internal requests)
WP-Optimize makes 6 requests to each page in each language (English & Spanish) on the site. In total, 3900 requests are made (every Page, Post & Event) . Although my back-end is built to support it, the subsequent processor spike essentially appears to be a denial of service attack, with all legitimate clients impacted during this processing window, with all site editors seeing performance issues in this window.
When I disable WP-Optimize Cache Preload, the traffic storm no longer occurs.
For example, (one page) from my logs:
For the page: https://archseattle.org/about-the-archdiocese-of-seattle/archbishop-etienne/racial-justice/
Web Server IP 52.247.209.218
WP-Optimize has made 6 requests within a second, which routes to my firewall (Azure Front Door WAF)
52.247.209.218:57822 – – [22/Nov/2023:15:04:44 +0000] “GET /about-the-archdiocese-of-seattle/archbishop-etienne/racial-justice/ HTTP/1.1” 200 20794 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36”
52.247.209.218:57812 – – [22/Nov/2023:15:04:44 +0000] “GET /about-the-archdiocese-of-seattle/archbishop-etienne/racial-justice/ HTTP/1.1” 200 20794 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36”
52.247.209.218:57800 – – [22/Nov/2023:15:04:44 +0000] “GET /about-the-archdiocese-of-seattle/archbishop-etienne/racial-justice/ HTTP/1.1” 200 20794 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36”
52.247.209.218:57838 – – [22/Nov/2023:15:04:44 +0000] “GET /about-the-archdiocese-of-seattle/archbishop-etienne/racial-justice/ HTTP/1.1” 200 20794 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36”
52.247.209.218:57834 – – [22/Nov/2023:15:04:44 +0000] “GET /about-the-archdiocese-of-seattle/archbishop-etienne/racial-justice/ HTTP/1.1” 200 20794 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36”
52.247.209.218:57848 – – [22/Nov/2023:15:04:44 +0000] “GET /about-the-archdiocese-of-seattle/archbishop-etienne/racial-justice/ HTTP/1.1” 200 20794 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36”The page I need help with: [log in to see the link]
- The topic ‘Issue with Cache Preload’ is closed to new replies.