{"id":389,"date":"2008-05-02T23:05:19","date_gmt":"2008-05-02T21:05:19","guid":{"rendered":"https:\/\/alax.info\/blog\/?p=389"},"modified":"2008-05-02T23:05:19","modified_gmt":"2008-05-02T21:05:19","slug":"fat32-and-maximal-number-of-files-per-directory","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/389","title":{"rendered":"FAT32 and maximal number of files per directory"},"content":{"rendered":"<p>While there are documented Limitations of the <a href=\"http:\/\/support.microsoft.com\/kb\/314463\">FAT32 File System in Windows XP<\/a>, I keep on stumbling on another one: maximal number of files per directory. Video archives are large and by design are kept in single directory. While <a href=\"http:\/\/en.wikipedia.org\/wiki\/NTFS\">NTFS<\/a> is recommended, <a href=\"http:\/\/en.wikipedia.org\/wiki\/File_Allocation_Table\">FAT32<\/a> is still used on a number of systems, more often on small scale ones, and the bad news is that FAT32 is often met on <a href=\"http:\/\/en.wikipedia.org\/wiki\/Network-attached_storage\">network-attached storage (NAS)<\/a> devices, which are often of large capacity.<\/p>\n<p>So, once we have 21844 (0x5554) files in the directory (it may appear though that the limit is dependent on FAT cluster size), an attempt to create new file will cause a lock inside API call boosting thread&#8217;s CPU consumption to 100%. An annoying issue to keep in mind.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While there are documented Limitations of the FAT32 File System in Windows XP, I keep on stumbling on another one: maximal number of files per directory. Video archives are large and by design are kept in single directory. While NTFS is recommended, FAT32 is still used on a number of systems, more often on small&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/389\">Read the full article<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[67],"class_list":["post-389","post","type-post","status-publish","format-standard","hentry","category-seriously","tag-fat32"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/comments?post=389"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/389\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}