Re: maximum driver handles per process?



it is also limited by non paged pool availability (for the PFILE_OBJECT).

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


<soviet_bloke@xxxxxxxxxxx> wrote in message
news:1158022329.936234.27880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi mate

Is there a limit to the number of driver handles (one per thread) I can
open from a given process?

As far as I know, the only limit is that of a process handle table
(i.e. more than 16,000,000), so that, for the practical purposes, the
number is unlimited

I have a
project currently being tested on Win03 that causes some strange
crashes. When running with five open handles it works just fine. If I
bump that up to 10, the entire system goes unstable. I just want to
know for sure that it is (a beast of a) bug in my code.

Apparently, you don't open these handles just for the fun of doing it,
do you??? Instead,
you must be sending requests to your driver, so that the
problem,apparently, lies with the code that processes these requests
(it is impossible to say what exactly goes wrong without seeing your
code, but there is a good chance that it lies with synchronization).
Alternatively, the problem may lie with some bug in IRP_MJ_CREATE
handler (in fact, quite unlikely because these routines normally don't
do that much....)



Anton Bassov


Brannon wrote:
Is there a limit to the number of driver handles (one per thread) I can
open from a given process? I'm using Win2k, WinXP, Win03. I remember
seeing a KB article about a crash in Win2k that occures if you open too
many handles to a driver. (Anyone got a source on that?) I have a
project currently being tested on Win03 that causes some strange
crashes. When running with five open handles it works just fine. If I
bump that up to 10, the entire system goes unstable. I just want to
know for sure that it is (a beast of a) bug in my code.



.



Relevant Pages

  • Re: maximum driver handles per process?
    ... but there is a good chance that it lies with synchronization). ... the problem may lie with some bug in IRP_MJ_CREATE ... I'm using Win2k, WinXP, Win03. ...
    (microsoft.public.development.device.drivers)
  • Re: Lets talk about what Alias does
    ... Naturally it's to be expected from a man who goes around accusing others of having sex with sheep and other lies. ... Let's talk about taunting people and posting sick comments about others. ... A few snippits of writings by Alias: ... The other quotes are waaaaaaaaaaay out of context but you know that and, because you're a low life asshole, you post them anyway. ...
    (microsoft.public.windows.vista.general)
  • Re: WGA-Box at start up to install-How to delete that notice.
    ... Proving that you ARE a troll, as your posts show. ... More lies, tsk, tsk. ... doesn't visit any sites that might compromise your machine. ... Another diversion, twist, lie, Alias, you're still trolling. ...
    (microsoft.public.windowsxp.general)
  • Re: Family Photo of measher-shit-heads family!
    ... alias trots out his grade school "I know you are but what am ... I once again kick alias lying trolling ass. ... you can't cite any lies and we can site dozens of you lies. ...
    (microsoft.public.windows.vista.general)
  • Re: Can not get updates
    ... Hello Alias ... I regularly clean up my computer before updating. ... A bug is something that does not work ... that should work for hundreds of different installations is quite a challenge ...
    (microsoft.public.windowsupdate)