{"action":"created","issue":{"url":"https://api.github.com/repos/mailchimp/mc-woocommerce/issues/308","repository_url":"https://api.github.com/repos/mailchimp/mc-woocommerce","labels_url":"https://api.github.com/repos/mailchimp/mc-woocommerce/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/mailchimp/mc-woocommerce/issues/308/comments","events_url":"https://api.github.com/repos/mailchimp/mc-woocommerce/issues/308/events","html_url":"https://github.com/mailchimp/mc-woocommerce/issues/308","id":382094160,"node_id":"MDU6SXNzdWUzODIwOTQxNjA=","number":308,"title":"Sync Issue","user":{"login":"sidedwards","id":11489608,"node_id":"MDQ6VXNlcjExNDg5NjA4","avatar_url":"https://avatars1.githubusercontent.com/u/11489608?v=4","gravatar_id":"","url":"https://api.github.com/users/sidedwards","html_url":"https://github.com/sidedwards","followers_url":"https://api.github.com/users/sidedwards/followers","following_url":"https://api.github.com/users/sidedwards/following{/other_user}","gists_url":"https://api.github.com/users/sidedwards/gists{/gist_id}","starred_url":"https://api.github.com/users/sidedwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidedwards/subscriptions","organizations_url":"https://api.github.com/users/sidedwards/orgs","repos_url":"https://api.github.com/users/sidedwards/repos","events_url":"https://api.github.com/users/sidedwards/events{/privacy}","received_events_url":"https://api.github.com/users/sidedwards/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-11-19T07:51:00Z","updated_at":"2018-11-19T19:18:53Z","closed_at":null,"author_association":"NONE","body":"I have a store with 11k orders and it becomes extremely slow after syncing 100 orders or so. My CPU % also jumps 60% during the attempted initial sync. I have setup the cron as you mentioned with the `define('DISABLE_WP_HTTP_WORKER', true);` option added to wp-config.php.\r\n\r\n> What plugin version are you using?\r\n\r\n2.1.11\r\n\r\n> Who is your hosting provider and can you check to see if they block access to the admin-ajax.php file for any reason?\r\n\r\nGoogle Cloud Compute and no\r\n\r\n> Are you using a shared hosting environment?\r\n\r\nNo, we are on a dedicated server (2 vCPUs, 13 GB memory, 50 GB SSD)\r\n\r\n> What PHP version are you using and what is the memory limit is set to?\r\n\r\n7.2.11\r\n\r\n> Is there any logging errors in the plugin’s logs tab (when it’s set to standard or debug)?\r\n\r\nHere is an error that is repeated throughout the logs `ERROR order_submit.error :: addStoreOrder :: 32382 :: A product with the provided ID does not exist in the account for this list. on 1498 in /var/www/html/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp-api.php `\r\n\r\n> Do you have any caching plugins or services running?\r\n\r\nNo.\r\n\r\n> Have you tried a fresh uninstall or reinstall?\r\n\r\nYes, I've removed the plugin completely and restarted the sync process. It moved fairly quickly at first but slowed down exponentially ~100 orders. Due to the MASSIVE impact CPU resources I'm considering building my own MailChimp integration. It's taken several hours to sync just a few hundred with huge CPU impact so I can't imagine it being able to get through 11k.\r\n\r\nAny additional advice is appreciated.\r\nThanks.\r\n\r\n_Originally posted by @sidedwards in https://github.com/mailchimp/mc-woocommerce/issue_comments#issuecomment-439793401_"},"comment":{"url":"https://api.github.com/repos/mailchimp/mc-woocommerce/issues/comments/440010096","html_url":"https://github.com/mailchimp/mc-woocommerce/issues/308#issuecomment-440010096","issue_url":"https://api.github.com/repos/mailchimp/mc-woocommerce/issues/308","id":440010096,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDAxMDA5Ng==","user":{"login":"sidedwards","id":11489608,"node_id":"MDQ6VXNlcjExNDg5NjA4","avatar_url":"https://avatars1.githubusercontent.com/u/11489608?v=4","gravatar_id":"","url":"https://api.github.com/users/sidedwards","html_url":"https://github.com/sidedwards","followers_url":"https://api.github.com/users/sidedwards/followers","following_url":"https://api.github.com/users/sidedwards/following{/other_user}","gists_url":"https://api.github.com/users/sidedwards/gists{/gist_id}","starred_url":"https://api.github.com/users/sidedwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidedwards/subscriptions","organizations_url":"https://api.github.com/users/sidedwards/orgs","repos_url":"https://api.github.com/users/sidedwards/repos","events_url":"https://api.github.com/users/sidedwards/events{/privacy}","received_events_url":"https://api.github.com/users/sidedwards/received_events","type":"User","site_admin":false},"created_at":"2018-11-19T19:18:53Z","updated_at":"2018-11-19T19:18:53Z","author_association":"NONE","body":"Also my server CPU% goes from 8% to 83% when running the command"}}
{"actor":{"display_login":"sidedwards"}}