Re: accumulating handles problem on machine running postgresql

Поиск
Список
Период
Сортировка
От Adam Bruss
Тема Re: accumulating handles problem on machine running postgresql
Дата
Msg-id D81DB5ADDC5C3B4484C581AF3D8EFF9D1A62588C@ex2a.awr.local
обсуждение исходный текст
Ответ на Re: accumulating handles problem on machine running postgresql  (dennis jenkins <dennis.jenkins.75@gmail.com>)
Ответы Re: accumulating handles problem on machine running postgresql  (dennis jenkins <dennis.jenkins.75@gmail.com>)
Список pgsql-general
I ran process explorer and looked at the handles for the System process. The vast majority of the handles are of type
"Key".I can find them in the registry. I took two at random from process explorer and exported the registry branch for
thembelow. 

## EXAMPLE  1: ##

Key Name:          HKEY_CLASSES_ROOT\CLSID\{9F074EE2-E6E9-4d8a-A047-EB5B5C3C55DA}
Class Name:        <NO CLASS>
Last Write Time:   2/28/2012 - 1:26 AM
Value 0
  Name:            <NO NAME>
  Type:            REG_SZ
  Data:            HwTextInsertion Class


Key Name:          HKEY_CLASSES_ROOT\CLSID\{9F074EE2-E6E9-4d8a-A047-EB5B5C3C55DA}\InprocServer32
Class Name:        <NO CLASS>
Last Write Time:   2/29/2012 - 4:05 AM
Value 0
  Name:            <NO NAME>
  Type:            REG_EXPAND_SZ
  Data:            %CommonProgramFiles%\microsoft shared\ink\tiptsf.dll

Value 1
  Name:            ThreadingModel
  Type:            REG_SZ
  Data:            Apartment


Key Name:          HKEY_CLASSES_ROOT\CLSID\{9F074EE2-E6E9-4d8a-A047-EB5B5C3C55DA}\ProgID
Class Name:        <NO CLASS>
Last Write Time:   2/29/2012 - 4:05 AM

Key Name:          HKEY_CLASSES_ROOT\CLSID\{9F074EE2-E6E9-4d8a-A047-EB5B5C3C55DA}\Server
Class Name:        <NO CLASS>
Last Write Time:   2/29/2012 - 4:05 AM

## EXAMPLE 2: ##

Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{80FF6842-51A9-4959-B3B9-EE4DCBFD7740}
Class Name:        <NO CLASS>
Last Write Time:   2/28/2012 - 12:07 AM

Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{80FF6842-51A9-4959-B3B9-EE4DCBFD7740}\Programmable
Class Name:        <NO CLASS>
Last Write Time:   12/13/2010 - 12:27 PM

Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{80FF6842-51A9-4959-B3B9-EE4DCBFD7740}\InprocServer32
Class Name:        <NO CLASS>
Last Write Time:   2/29/2012 - 3:05 AM

Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{80FF6842-51A9-4959-B3B9-EE4DCBFD7740}\ProgID
Class Name:        <NO CLASS>
Last Write Time:   2/29/2012 - 3:05 AM

Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{80FF6842-51A9-4959-B3B9-EE4DCBFD7740}\Server
Class Name:        <NO CLASS>
Last Write Time:   2/29/2012 - 3:05 AM

## END EXAMPLES ##

A common thread I notice when looking through the keys is InprocServer32.

Adam Bruss
Senior Development Engineer
AWR Corporation
11520 N. Port Washington Rd., Suite 201
Mequon, WI  53092  USA
P: 1.262.240.0291 x104
F: 1.262.240.0294
E: abruss@awrcorp.com
W: http://www.awrcorp.com


-----Original Message-----
From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of dennis jenkins
Sent: Tuesday, February 28, 2012 4:01 PM
To: pgsql-general@postgresql.org
Subject: Re: [GENERAL] accumulating handles problem on machine running postgresql

On Tue, Feb 28, 2012 at 8:48 AM, Adam Bruss <abruss@awrcorp.com> wrote:
> The handles persist through restarting the postgresql service and restarting the IIS server. The handles are
accumulatingon the System process. I think the handles are created when the web service is accessed but that would mean
theIIS worker processes would have responsibility and they don't seem to. Recycling the worker processes in IIS does
nothing.And the worker processes have their own process w3wp.exe which never accumulate handles. It's probably not a
postgresqlthing or other people would be seeing it. 
>

Use "process explorer" from sysinternals / microsoft (google for it)
to see what these handles are for (pipes, files, events, mutants,
desktops, winstations (ok, probably not those), etc...

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

В списке pgsql-general по дате отправления:

Предыдущее
От: Clodoaldo Neto
Дата:
Сообщение: Client encoding not the same as the db encoding
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Client encoding not the same as the db encoding