• <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>

            從頭再來

            windows 進程 可打開的最大句柄數(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 閱讀(2616) 評論(0)  編輯 收藏 引用


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


            久久久九九有精品国产| 久久精品中文无码资源站| 国产精品18久久久久久vr| 伊人久久精品线影院| 香蕉久久AⅤ一区二区三区| 国产精品无码久久综合| 久久国产免费直播| 久久久久人妻一区精品色 | 波多野结衣AV无码久久一区| 久久久久无码精品国产| 无码精品久久一区二区三区| 97精品久久天干天天天按摩 | 午夜精品久久久久久久久| 国产高潮国产高潮久久久91 | 18禁黄久久久AAA片| 99久久精品无码一区二区毛片| 国产成人精品三上悠亚久久| 国产精久久一区二区三区| 午夜久久久久久禁播电影| 久久乐国产综合亚洲精品| 久久国产V一级毛多内射| 久久精品无码午夜福利理论片 | 国产精品久久波多野结衣| 成人综合久久精品色婷婷| 免费精品久久久久久中文字幕| 国产成人久久久精品二区三区| 久久99精品久久久久久久不卡| 中文字幕无码av激情不卡久久| 精品国产乱码久久久久久浪潮| 99久久婷婷国产综合精品草原| 久久综合九色综合欧美狠狠| 久久er热视频在这里精品| 久久精品国产影库免费看| 97精品国产91久久久久久| AV狠狠色丁香婷婷综合久久 | 97久久国产综合精品女不卡| 久久99热这里只频精品6| 麻豆av久久av盛宴av| 97精品依人久久久大香线蕉97| 亚洲中文字幕久久精品无码喷水| 无码国内精品久久人妻蜜桃|