{"id":869,"date":"2009-05-06T16:21:00","date_gmt":"2009-05-06T16:21:00","guid":{"rendered":"\/blogs\/paul\/post\/What-is-FSAgentexe-and-why-does-it-have-lots-of-waits.aspx"},"modified":"2017-04-13T11:41:29","modified_gmt":"2017-04-13T18:41:29","slug":"what-is-fsagent-exe-and-why-does-it-have-lots-of-waits","status":"publish","type":"post","link":"https:\/\/www.sqlskills.com\/blogs\/paul\/what-is-fsagent-exe-and-why-does-it-have-lots-of-waits\/","title":{"rendered":"What is FSAgent.exe and why does it have lots of waits?"},"content":{"rendered":"<p>\n<font face=\"verdana,geneva\" size=\"2\">Another quickie today. If you&#39;re using Activity Monitor in SQL Server 2008,&nbsp;or Performance Data Collection&nbsp;with the Server Activity system data collection set, then you may see a constant, and large number of &#39;Other&#39; SQL Server Waits. When you drill into these, you see that the highest number of waits are for FSAgent. The FSAgent is part of the FILESTREAM subsystem, and it&#39;s what fools the rest of the Storage Engine into accepting the FILESTREAM data as if it was real varbinary(max) data. If you look in the <\/font><a href=\"https:\/\/msdn.microsoft.com\/Areas\/Epx\/Content\/500.htm?aspxerrorpath=\/en-us\/library\/ms179984.aspx\"><font face=\"verdana,geneva\" size=\"2\">Books Online entry for sys.dm_os_wait_stats<\/font><\/a><font face=\"verdana,geneva\" size=\"2\">, which defines all the different wait types, it explains that the wait should only show up when FILESTREAM I\/Os are occuring. However, this wait type shows up *all* the time &#8211; clearly a bug. <\/font>\n<\/p>\n<p>\n<font face=\"verdana,geneva\" size=\"2\">Turns out that it&#39;s a known bug that&#39;s been fixed &#8211; see <\/font><a href=\"https:\/\/support.microsoft.com\/en-us\/help\/958942\/fix-activity-monitor-shows-the-high-wait-times-when-the-fsagent-wait-type-is-enabled-on-a-server-that-is-running-sql-server-2008\"><font face=\"verdana,geneva\" size=\"2\">KB 958942<\/font><\/a><font face=\"verdana,geneva\" size=\"2\">. <\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another quickie today. If you&#39;re using Activity Monitor in SQL Server 2008,&nbsp;or Performance Data Collection&nbsp;with the Server Activity system data collection set, then you may see a constant, and large number of &#39;Other&#39; SQL Server Waits. When you drill into these, you see that the highest number of waits are for FSAgent. The FSAgent is [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,41,66,86,95],"tags":[],"class_list":["post-869","post","type-post","status-publish","format-standard","hentry","category-bugfixes","category-filestream","category-performance-tuning","category-sql-server-2008","category-tools"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is FSAgent.exe and why does it have lots of waits? - Paul S. Randal<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sqlskills.com\/blogs\/paul\/what-is-fsagent-exe-and-why-does-it-have-lots-of-waits\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is FSAgent.exe and why does it have lots of waits? - Paul S. Randal\" \/>\n<meta property=\"og:description\" content=\"Another quickie today. If you&#039;re using Activity Monitor in SQL Server 2008,&nbsp;or Performance Data Collection&nbsp;with the Server Activity system data collection set, then you may see a constant, and large number of &#039;Other&#039; SQL Server Waits. When you drill into these, you see that the highest number of waits are for FSAgent. The FSAgent is [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sqlskills.com\/blogs\/paul\/what-is-fsagent-exe-and-why-does-it-have-lots-of-waits\/\" \/>\n<meta property=\"og:site_name\" content=\"Paul S. Randal\" \/>\n<meta property=\"article:published_time\" content=\"2009-05-06T16:21:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-13T18:41:29+00:00\" \/>\n<meta name=\"author\" content=\"Paul Randal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paul Randal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/what-is-fsagent-exe-and-why-does-it-have-lots-of-waits\/\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/what-is-fsagent-exe-and-why-does-it-have-lots-of-waits\/\",\"name\":\"What is FSAgent.exe and why does it have lots of waits? - Paul S. Randal\",\"isPartOf\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#website\"},\"datePublished\":\"2009-05-06T16:21:00+00:00\",\"dateModified\":\"2017-04-13T18:41:29+00:00\",\"author\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/what-is-fsagent-exe-and-why-does-it-have-lots-of-waits\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sqlskills.com\/blogs\/paul\/what-is-fsagent-exe-and-why-does-it-have-lots-of-waits\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/what-is-fsagent-exe-and-why-does-it-have-lots-of-waits\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is FSAgent.exe and why does it have lots of waits?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#website\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/\",\"name\":\"Paul S. Randal\",\"description\":\"In Recovery...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce\",\"name\":\"Paul Randal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g\",\"caption\":\"Paul Randal\"},\"sameAs\":[\"http:\/\/3.209.169.194\/blogs\/paul\"],\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/author\/paul\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is FSAgent.exe and why does it have lots of waits? - Paul S. Randal","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sqlskills.com\/blogs\/paul\/what-is-fsagent-exe-and-why-does-it-have-lots-of-waits\/","og_locale":"en_US","og_type":"article","og_title":"What is FSAgent.exe and why does it have lots of waits? - Paul S. Randal","og_description":"Another quickie today. If you&#39;re using Activity Monitor in SQL Server 2008,&nbsp;or Performance Data Collection&nbsp;with the Server Activity system data collection set, then you may see a constant, and large number of &#39;Other&#39; SQL Server Waits. When you drill into these, you see that the highest number of waits are for FSAgent. The FSAgent is [&hellip;]","og_url":"https:\/\/www.sqlskills.com\/blogs\/paul\/what-is-fsagent-exe-and-why-does-it-have-lots-of-waits\/","og_site_name":"Paul S. Randal","article_published_time":"2009-05-06T16:21:00+00:00","article_modified_time":"2017-04-13T18:41:29+00:00","author":"Paul Randal","twitter_misc":{"Written by":"Paul Randal","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/what-is-fsagent-exe-and-why-does-it-have-lots-of-waits\/","url":"https:\/\/www.sqlskills.com\/blogs\/paul\/what-is-fsagent-exe-and-why-does-it-have-lots-of-waits\/","name":"What is FSAgent.exe and why does it have lots of waits? - Paul S. Randal","isPartOf":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#website"},"datePublished":"2009-05-06T16:21:00+00:00","dateModified":"2017-04-13T18:41:29+00:00","author":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce"},"breadcrumb":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/what-is-fsagent-exe-and-why-does-it-have-lots-of-waits\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sqlskills.com\/blogs\/paul\/what-is-fsagent-exe-and-why-does-it-have-lots-of-waits\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/what-is-fsagent-exe-and-why-does-it-have-lots-of-waits\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sqlskills.com\/blogs\/paul\/"},{"@type":"ListItem","position":2,"name":"What is FSAgent.exe and why does it have lots of waits?"}]},{"@type":"WebSite","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#website","url":"https:\/\/www.sqlskills.com\/blogs\/paul\/","name":"Paul S. Randal","description":"In Recovery...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sqlskills.com\/blogs\/paul\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce","name":"Paul Randal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g","caption":"Paul Randal"},"sameAs":["http:\/\/3.209.169.194\/blogs\/paul"],"url":"https:\/\/www.sqlskills.com\/blogs\/paul\/author\/paul\/"}]}},"_links":{"self":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts\/869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/comments?post=869"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts\/869\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/media?parent=869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/categories?post=869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/tags?post=869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}