Registry handle limit?

E

Eric Margheim

What determines the limit on how many times a registry hive/key can be
accessed/opened without being closed? I am tracking down an issue that may
be caused by a bunch of registry handles being opened by a process and not
being closed until the process/service is stopped. It doesn't happen on
all servers that it runs on. I'm trying to duplicate in a test environment
and am trying to determine if there is a set limit per process, per hive,
per server, etc.

Thanks

Eric
 
E

Eric Margheim

Dave Patrick said:

Thanks Dave.

Yes I am using regmon and it's definitely showing that this service is not
closing the keys it opens. I just stopped the service and it showed 2000+
keys being closed. It's our code that is actually interacting with the
registry in a DLL that is called by report creation code that runs under
this 3rd party process. I'm trying to determine why registry keys aren't
being closed I think our code is behaving properly as we use the same
methodology elsewhere and regmon shows closekeys all over the place.

I'm hoping if I can determine the limit or even better find a registry entry
that sets it I can duplicate this readily in our test environment and solve
for good.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top