{"id":214,"date":"2014-08-21T00:01:21","date_gmt":"2014-08-21T06:01:21","guid":{"rendered":"http:\/\/www.schwie.com\/brad\/?p=214"},"modified":"2014-09-27T11:55:10","modified_gmt":"2014-09-27T17:55:10","slug":"runaway-com-apple-iconservices","status":"publish","type":"post","link":"https:\/\/www.schwie.com\/brad\/?p=214","title":{"rendered":"Runaway com.apple.IconServices"},"content":{"rendered":"<p>Seems com.apple.IconServices was using up a bit much of my cpu as the fans were whistling away. Fired up Console.app and saw several identical and consecutive entries like:<\/p>\n<p><pre>8\/21\/14 12:50:34.008 AM com.apple.IconServicesAgent[18804]: Failed to write file \/var\/folders\/9q\/08gbl69j4p93h7h59f57m8r00000gq\/T\/com.apple.IconServices\/22C30777DAAC89CE8ADF68CE540ED9EE.iscachebmp.tmp to cache.\r\n\t1   IconServices                        0x00007fff8caa7b85 ___ZN18IconImageGenerator4mainEv_block_invoke7 + 634\r\n\t2   libdispatch.dylib                   0x00007fff80ae028d _dispatch_client_callout + 8\r\n\t3   libdispatch.dylib                   0x00007fff80ae1146 _dispatch_barrier_sync_f_invoke + 39\r\n\t4   IconServices                        0x00007fff8caa75ba _ZN18IconImageGenerator4mainEv + 734\r\n\t5   IconServices                        0x00007fff8caa8ea8 _ZN11WorkManager11processWorkEP4Work + 112\r\n\t6   IconServices                        0x00007fff8caa8e1f ___ZN11WorkManager11enqueueWorkEP4WorkU13block_pointerFvS1_E_block_invoke_5 + 26\r\n\t7   libdispatch.dylib                   0x00007fff80ae31bb _dispatch_call_block_and_release + 12\r\n\t8   libdispatch.dylib                   0x00007fff80ae028d _dispatch_client_callout + 8\r\n\t9   libdispatch.dylib                   0x00007fff80ae47e3 _dispatch_async_redirect_invoke + 154\r\n\t10  libdispatch.dylib                   0x00007fff80ae028d _dispatch_client_callout + 8\r\n\t11  libdispatch.dylib                   0x00007fff80ae2082 _dispatch_root_queue_drain + 326\r\n\t12  libdispatch.dylib                   0x00007fff80ae3177 _dispatch_worker_thread2 + 40\r\n\t13  libsystem_pthread.dylib             0x00007fff8b529ef8 _pthread_wqthread + 314\r\n\t14  libsystem_pthread.dylib             0x00007fff8b52cfb9 start_wqthread + 13<\/pre>\n<p>\nBased on the error log from Console.app, it appears com.apple.IconServices is trying to write something here:<\/p>\n<p><pre>\/var\/folders\/9q\/08gbl69j4p93h7h59f57m8r00000gq\/T\/com.apple.IconServices\/<\/pre>\n<p>To fix this, I just created a new directory in Terminal.app:<\/p>\n<p><pre>sudo mkdir \/var\/folders\/9q\/08gbl69j4p93h7h59f57m8r00000gq\/T\/com.apple.IconServices\/<\/pre>\n<p>Gradually the cpu dropped back down and all returned to normal.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Seems com.apple.IconServices was using up a bit much of my cpu as the fans were whistling away. Fired up Console.app and saw several identical and consecutive entries like: 8\/21\/14 12:50:34.008 AM com.apple.IconServicesAgent[18804]: Failed to write file \/var\/folders\/9q\/08gbl69j4p93h7h59f57m8r00000gq\/T\/com.apple.IconServices\/22C30777DAAC89CE8ADF68CE540ED9EE.iscachebmp.tmp to cache. 1 &hellip; <a href=\"https:\/\/www.schwie.com\/brad\/?p=214\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-214","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=214"}],"version-history":[{"count":3,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/214\/revisions"}],"predecessor-version":[{"id":230,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/214\/revisions\/230"}],"wp:attachment":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}