{"id":5149,"date":"2018-07-09T23:22:59","date_gmt":"2018-07-10T06:22:59","guid":{"rendered":"https:\/\/www.coretechnologies.com\/blog\/?p=5149"},"modified":"2018-07-09T23:22:59","modified_gmt":"2018-07-10T06:22:59","slug":"backup-and-sync-cpu-memory","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/backup-and-sync-cpu-memory\/","title":{"rendered":"Q &#038; A: Why is AlwaysUp Reporting the Wrong CPU and Memory for Backup and Sync?"},"content":{"rendered":"<div align=\"center\"><img decoding=\"async\" src=\"https:\/\/cdn.coretechnologies.com\/blog\/images\/qa-backup-and-sync.png\" title=\"Q &#038; A - Backup and Sync\" alt=\"Q &#038; A - Backup and Sync\" border=\"0\" ><\/div>\n<div class=\"blog-qa-question-box\">\n<img decoding=\"async\" src=\"\/images\/quotes-transparent-21x21.png\">&nbsp;&nbsp;I am using <a href=\"\/products\/AlwaysUp\/Apps\/RunBackupAndSyncWindowsService.html\">AlwaysUp for Google Backup and Sync<\/a> as a windows service. My files are syncing but in checking the processes on the server, Backup and Sync is showing 30% CPU usage and 688 MB memory. Yet AlwaysUp in its daily reports quite often shows CPU as 0\/0 and Memory as 2.2\/11. As you can see the average is suspect and the peak is way off. Am I missing something in setting up the daily reports?<\/p>\n<p align=\"right\">&#8212; Oscar Romo, <a href=\"https:\/\/techsperience.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">TECHsperience<\/a><\/p>\n<\/div>\n<p>Hi Oscar. Your configuration is not to blame. That puzzling situation is the result of how Backup and Sync operates. Let me explain.<\/p>\n<p>Backup and Sync runs in an executable named <b>googledrivesync.exe<\/b>. The Task Manager will show that process running on your server:<\/p>\n<div align=\"center\"><a href=\"https:\/\/cdn.coretechnologies.com\/blog\/images\/googledrivesync-task-manager.png\" class=\"zoomPopup\" title=\"googledrivesync.exe in Task Manager\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"image-padding\" src=\"https:\/\/cdn.coretechnologies.com\/blog\/images\/googledrivesync-task-manager.png\" width=\"462\" height=\"292\" title=\"googledrivesync.exe in Task Manager (click to enlarge)\" alt=\"googledrivesync.exe in Task Manager\" border=\"0\" width=\"520\"><\/a><\/div>\n<p>But wait &mdash; why are there <b>two<\/b> googledrivesync.exe processes??<\/p>\n<p>If we pull out the big guns (i.e. <a href=\"\/blog\/windows-services\/essential-tools-for-windows-services-process-explorer\/\">Microsoft&#8217;s excellent Process Explorer<\/a>) to investigate, we see that the first instance of googledrivesync has spawned the second <b>as part of normal operation<\/b>. And furthermore, while the first process is idle, the second\/child process seems to be working pretty hard (its CPU is almost 50%):<\/p>\n<div align=\"center\"><a href=\"https:\/\/cdn.coretechnologies.com\/blog\/images\/googledrivesync-process-explorer.png\" class=\"zoomPopup\" title=\"googledrivesync.exe in Process Explorer\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"image-padding\" src=\"https:\/\/cdn.coretechnologies.com\/blog\/images\/googledrivesync-process-explorer.png\" width=\"462\" height=\"292\" title=\"googledrivesync.exe in Process Explorer (click to enlarge)\" alt=\"googledrivesync.exe in Process Explorer\" border=\"0\" width=\"520\"><\/a><\/div>\n<p>This &#8220;two-process operation&#8221; explains the discrepancy you have noticed. <\/p>\n<p>When AlwaysUp launches Backup and Sync, it monitors the <b>first googledrivesync.exe process<\/b> that was created. Because that process doesn&#8217;t use much CPU or RAM, AlwaysUp will present very modest numbers in its daily and weekly summary reports.<\/p>\n<p>However, when you check the processes on the server, you are likely looking at the <b>second googledrivesync.exe process<\/b>. That child process seems to be doing the heavy lifting, leading to higher CPU and RAM values in Task Manager.<\/p>\n<p>The end result is that the CPU &amp; memory measurements in AlwaysUp&#8217;s reports may not be very useful when running Backup and Sync as a service. Sorry about that. Rest assured that your files will always be copied though, which is the main job you hired our software to perform. \ud83d\ude42<\/p>\n<p>Please be sure to <a href=\"\/support\/\">get in touch<\/a> if you have any followup questions.<\/p>\n<p>Happy syncing!<\/p>\n<!-- relpost-thumb-wrapper --><div class=\"relpost-thumb-wrapper\"><!-- filter-class --><div class=\"relpost-thumb-container\"><style>.relpost-block-single-image, .relpost-post-image { margin-bottom: 10px; }<\/style><h3>You may also like...<\/h3><div style=\"clear: both\"><\/div><div style=\"clear: both\"><\/div><!-- relpost-block-container --><div class=\"relpost-block-container relpost-block-column-layout\" style=\"--relposth-columns: 3;--relposth-columns_t: 2; --relposth-columns_m: 2\"><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/login-credentials\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: Why Doesn&#039;t AlwaysUp Accept My Login Credentials?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/qa-trouble-entering-login-credentials-150x150-1.webp\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Q&amp;A: Why Doesn&#039;t AlwaysUp Accept My Login Credentials?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/stop-plex-windows-service\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: How do I Avoid Errors when Stopping my Plex Windows Service?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/plex-logo-2-150x150.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Q&amp;A: How do I Avoid Errors when Stopping my Plex Windows Service?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/miscellaneous\/artwork-from-our-web-site\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Artwork from our Web Site\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/alwaysup-boxshot-150x150.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Artwork from our Web Site<\/h2><\/div><\/div><\/a><\/div><!-- close relpost-block-container --><div style=\"clear: both\"><\/div><\/div><!-- close filter class --><\/div><!-- close relpost-thumb-wrapper -->","protected":false},"excerpt":{"rendered":"<p>&nbsp;&nbsp;I am using AlwaysUp for Google Backup and Sync as a windows service. My files are syncing but in checking the processes on the server, Backup and Sync is showing 30% CPU usage and 688 MB memory. Yet AlwaysUp in &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/backup-and-sync-cpu-memory\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":3560,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[26,43,122,127],"class_list":["post-5149","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-alwaysup","tag-alwaysup-tag","tag-backup-and-sync","tag-process-explorer","tag-qa"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/5149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=5149"}],"version-history":[{"count":0,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/5149\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/3560"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=5149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=5149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=5149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}