{"id":9049,"date":"2020-08-02T14:48:02","date_gmt":"2020-08-02T18:48:02","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=9049"},"modified":"2020-08-02T14:48:02","modified_gmt":"2020-08-02T18:48:02","slug":"troubleshooting-mu4e","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=9049","title":{"rendered":"Troubleshooting Mu4e"},"content":{"rendered":"<p>After I upgraded to macOS Catalina\u2014or perhaps after I replaced my laptop because of the <a href=\"https:\/\/irreal.org\/blog\/?p=8669\">spilled drink catastrophe<\/a>\u2014I\u2019ve been having problems with mu\/mu4e. That\u2019s serious for me because they are my primary email client. There are two problems.<\/p>\n<p>First, mds and its helper apps were running not quite continually but regularly. Mds is the indexer for Spotlight, the macOS utility that provides system wide content searches. Mds uses a significant amount of CPU time when it\u2019s running. So much so that the laptop gets significantly hotter. My hypothesis is that mds was getting kicked off every time mu ran mbsync to sync with the IMAP server\u2014every 5 minutes on my machine. After it finishes running, there was a fairly short period until it got kicked off again.<\/p>\n<p>I fixed that problem by telling Spotlight not to bother indexing my mail repository or the Xapian index that mu maintains. I can\u2019t find anyone else complaining about this, which is odd because both my Spotlight configuration was the default (before I told it not to index the mail) and I\u2019m not doing anything special in my mu4e configuration.<\/p>\n<p>The second problem is <i>sometimes<\/i> it can take 30 seconds or longer for the email list to come up. Less often there is also a delay when I select a message before it appears. The delays appear to happen when mu is running. I haven\u2019t figured out what\u2019s causing this yet. I\u2019d be happy to hear from anyone with some wisdom on the matter.<\/p>\n<p>I\u2019m inclined to think these problems were caused by the OS update and hope that they\u2019ll be resolved when Big Sur is released. That happened before with a <a href=\"http:\/\/irreal.org\/blog\/?p=7663\">delay when invoking the browser from an Org link<\/a>: the problem resolved itself with a new OS release. Again, if anyone has seen similar problems, let me know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After I upgraded to macOS Catalina\u2014or perhaps after I replaced my laptop because of the spilled drink catastrophe\u2014I\u2019ve been having problems with mu\/mu4e. That\u2019s serious for me because they are my primary email client. There are two problems. First, mds &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=9049\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18,166],"class_list":["post-9049","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs","tag-mu4e"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9049"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9049\/revisions"}],"predecessor-version":[{"id":9050,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9049\/revisions\/9050"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}