{"id":20613,"date":"2008-10-09T10:00:00","date_gmt":"2008-10-09T10:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2008\/10\/09\/how-can-i-increase-the-number-of-files-i-can-open-at-a-time\/"},"modified":"2008-10-09T10:00:00","modified_gmt":"2008-10-09T10:00:00","slug":"how-can-i-increase-the-number-of-files-i-can-open-at-a-time","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20081009-00\/?p=20613","title":{"rendered":"How can I increase the number of files I can open at a time?"},"content":{"rendered":"<p>People who ask this question invariably under-specify the question. They just say, &#8220;How can I increase the number of files I can open at a time?&#8221; without saying how they&#8217;re opening them. From the operating system&#8217;s point of view, the number of files you can open at a time is limited only by available resources. Call <code>CreateFile<\/code> until you drop. (This remark applies to local files. When you talk over the network, <a href=\"http:\/\/support.microsoft.com\/kb\/190162\"> things<\/a> <a href=\"http:\/\/support.microsoft.com\/kb\/913835\"> get<\/a> <a href=\"http:\/\/technet2.microsoft.com\/WindowsServer\/en\/library\/b131bda4-2b95-4d3a-81f7-dc83524793ca1033.mspx\"> weirder<\/a>.)<\/p>\n<p> The fact that these people are asking the question, however, indicates that they&#8217;re not using <code>CreateFile<\/code> to open the files. They&#8217;re using some other intermediate layer, and it&#8217;s that layer that is imposing some sort of limit. You&#8217;ll have to investigate that layer to see what you can do about raising the limit. <\/p>\n<p> [Raymond is currently away; this message was pre-recorded.] <\/p>\n","protected":false},"excerpt":{"rendered":"<p>People who ask this question invariably under-specify the question. They just say, &#8220;How can I increase the number of files I can open at a time?&#8221; without saying how they&#8217;re opening them. From the operating system&#8217;s point of view, the number of files you can open at a time is limited only by available resources. [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[25],"class_list":["post-20613","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-code"],"acf":[],"blog_post_summary":"<p>People who ask this question invariably under-specify the question. They just say, &#8220;How can I increase the number of files I can open at a time?&#8221; without saying how they&#8217;re opening them. From the operating system&#8217;s point of view, the number of files you can open at a time is limited only by available resources. [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/20613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=20613"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/20613\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=20613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=20613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=20613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}