Re: Disconnects hanging server

From: "A(dot)M(dot)" <agentm(at)themactionfaction(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Disconnects hanging server
Date: 2007-12-03 22:51:47
Message-ID: B97E0555-DD24-4D92-B1FA-33AA4112D9ED@themactionfaction.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Dec 3, 2007, at 4:16 PM, Brian Wipf wrote:

> We have a dual 3.0 GHz Intel Dual-core Xserve, running Mac OS X
> 10.5.1 Leopard Server and PostgreSQL 8.2.5. When we disconnect
> several clients at a time (30+) in production, the CPU goes through
> the roof and the server will hang for many seconds where it is
> completely non-responsive. It seems the busier the server is, the
> longer the machine will hang.

You should run Shark or Instruments to determine where the system is
getting hung up. You will likely need to install developer tools. If
you need help reading the profilers' output, please join up on an
Apple list.

In my profiling of PostgreSQL under 10.4 with PostgreSQL 8.1, I found
disappointing results with bottlenecks in the mutex-locked stdio. I
suspect that the results in 10.5 may be drastically different.

Cheers,
M

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Matthew Dennis 2007-12-03 23:24:30 8.3 release notes
Previous Message Erik Jones 2007-12-03 22:38:24 Re: Moving pgstat.stat and pgstat.tmp