• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            從頭再來(lái)

            windows 進(jìn)程 可打開的最大句柄數(shù)

            以下文字摘自"Windows Internals Fifth Edition "


            An object handle is an index into a process-specific handle table, pointed to by the executive
            process (EPROCESS) block (described in Chapter 5). The first handle index is 4, the second
            8, and so on. A process’s handle table contains pointers to all the objects that the process
            has opened a handle to. Handle tables are implemented as a three-level scheme, similar
            to the way that the x86 memory management unit implements virtual-to-physical address
            152 Windows Internals, Fifth Edition
            translation, giving a maximum of more than 16,000,000 handles per process


            The test program Testlimit from Sysinternals has an option to open handles to an object
            until it cannot open any more handles. You can use this to see how many handles can
            be created in a single process on your system. Because handle tables are allocated from
            paged pool, you might run out of paged pool before you hit the maximum number of
            handles that can be created in a single process. To see how many handles you can create
            on your system, follow these steps:
            1. Download the Testlimit .zip file from www.microsoft.com/technet/ sysinternals, and
            unzip it into a directory.
            Run Process Explorer, and then click View and then System Information. Notice
            the current and maximum size of paged pool. (To display the maximum pool size
            values, Process Explorer must be configured properly to access the symbols for
            the kernel image, Ntoskrnl.exe.) Leave this system information display running so
            that you can see pool utilization when you run the Testlimit program.
            3. Open a command prompt.
            4. Run the Testlimit program with the -h switch (do this by typing testlimit –h).
            When Testlimit fails to open a new handle, it will display the total number of
            handles it was able to create. If the number is less than approximately 16 million,
            you are probably running out of paged pool before hitting the theoretical perprocess
            handle limit.
            5. Close the Command Prompt window; doing this will kill the Testlimit process, thus
            closing all the open handles.

            posted on 2012-11-07 17:26 易寶@byhh 閱讀(2623) 評(píng)論(0)  編輯 收藏 引用


            只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問(wèn)   Chat2DB   管理


            亚洲午夜无码久久久久| 亚洲va国产va天堂va久久| 蜜桃麻豆www久久| 久久无码国产| 色欲综合久久中文字幕网| 色综合久久最新中文字幕| 亚洲国产成人精品无码久久久久久综合| 伊人久久大香线蕉AV一区二区| 久久婷婷成人综合色综合| 国产成人精品久久亚洲高清不卡| 欧美亚洲国产精品久久高清| 久久精品国产亚洲麻豆| 国内精品久久国产| 伊人色综合久久天天| 国产成人综合久久精品红| 精品久久人人爽天天玩人人妻| 中文字幕无码免费久久| 思思久久好好热精品国产| 99久久精品免费看国产免费| 久久婷婷五月综合色高清| 久久国产亚洲精品| 久久露脸国产精品| 国产精品内射久久久久欢欢| 久久久亚洲欧洲日产国码二区| 亚洲国产精品综合久久一线| 久久最新免费视频| 久久国产视频网| 激情五月综合综合久久69| 99久久精品免费国产大片| 青青国产成人久久91网| 国产精品免费福利久久| 国产精品美女久久久m| 色欲综合久久中文字幕网| 蜜臀av性久久久久蜜臀aⅴ | 久久夜色精品国产噜噜麻豆 | 少妇被又大又粗又爽毛片久久黑人| 2022年国产精品久久久久| 久久成人国产精品| 久久精品国产99国产精品澳门| 国产Av激情久久无码天堂| 狠狠色丁香婷婷久久综合不卡|