High CPU usage due to cookie set by Mailchimp for WooCommerce
-
Siteground hosting reports high CPU usage at this site. I’ve followed this up with them and they report as follows:
In order for your CPU usage on the site stmildredschurch.org.uk to be decreased, the server’s cache should be working properly so more content can be served from cache and less PHP executions are made. In the case of the site stmildredschurch.org.uk the server cache is not working due to a custom cookie in the site’s headers:Milko-Nozhchev:~ milko.nozhchev$ curl -sIX GET https://stmildredschurch.org.uk/ | grep -i cookie
set-cookie: mailchimp_landing_site=https%3A%2F%2Fstmildredschurch.org.uk%2F; expires=Wed, 22-May-2024 15:05:18 GMT; Max-Age=2419200; path=/; secure; SameSite=Strict
x-proxy-cache-info: W NC:000000 UP:SKIP_CACHE_SET_COOKIE
Milko-Nozhchev:~ milko.nozhchev$
It seems that the issue is caused by the MailChimp plugin. There 2 plugins associated with MailChimp. It appears that the cookie is generated by the mailchimp-for-woocommerce:baseos | stmildredschurch.org.uk | [email protected]:~/www/stmildredschurch.org.uk/public_html$ wp plugin list | grep mailchimp
gravityformsmailchimp active none 5.4.0
mailchimp-for-woocommerce active none 4.0.1
baseos | stmildredschurch.org.uk | [email protected]:~/www/stmildredschurch.org.uk/public_html$ cd wp-content/plugins
baseos | stmildredschurch.org.uk | [email protected]:~/www/stmildredschurch.org.uk/public_html/wp-content/plugins$ grep -ril “mailchimp_landing_site” .
./mailchimp-for-woocommerce/includes/class-mailchimp-woocommerce-service.php
baseos | stmildredschurch.org.uk | [email protected]:~/www/stmildredschurch.org.uk/public_html/wp-content/plugins$
—————
Thats all the info they provided. How might I go about troubleshooting this and rectifying the cookie/cache/CPU usage issueThe page I need help with: [log in to see the link]
- The topic ‘High CPU usage due to cookie set by Mailchimp for WooCommerce’ is closed to new replies.