Re: [PORTS] ipc-daemon runs wild on NT?

From: Ted Nolan SRI Augusta GA <ted(at)ags(dot)ga(dot)erg(dot)sri(dot)com>
To: pgsql-ports(at)hub(dot)org
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [PORTS] ipc-daemon runs wild on NT?
Date: 1999-09-27 17:30:08
Message-ID: 199909271724.NAA07911@ags.ga.erg.sri.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-ports

In message <199909241517(dot)LAA19260(at)ags(dot)ga(dot)erg(dot)sri(dot)com>you write:
>Hello folks,
>
>I'm running 6.5.1 on NT. I think I've applied all the patches to the
>ipc-daaemon, but after a while it starts hogging the CPU, even when no
>queries of any sort are being made (although there is a postmaster present).
>Reducing the priority helps a bit, but it's not a solution.
>
>Has anyone seen this? If so did you find a fix?
>
>
> Thanks,
>
> Ted Nolan
>
>************
>

I've done a little more looking (very little..) and see that the
ipc-daemon has a loop in ipc-daemon.c that looks like

while(1)
{
usleep(300000) ;
....
....

I still don't know exactly what the ipc-daemon _does_, but I'm wondering if
cygwin usleep() somehow granularizes to 0 in some cases..

Does anyone has any feeling what the consequences would be in changing that
usleep to a "sleep(1)"

Ted Nolan

Browse pgsql-general by date

  From Date Subject
Next Message David Warnock 1999-09-27 17:46:16 Re: [GENERAL] Anyone doing a native NT port?
Previous Message Bruce Momjian 1999-09-27 17:25:32 Re: [GENERAL] Anyone doing a native NT port?

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 1999-09-27 20:53:30 Re: [PORTS] Postgres 6.5.1 on IRIX 6.5 Locating Shared Object Libs
Previous Message Thomas Lockhart 1999-09-27 15:40:50 Re: [PORTS] looking for rpm with postgresql-6.5/src directory