Re: pg_ctl configurable timeout

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_ctl configurable timeout
Date: 2007-08-23 20:50:05
Message-ID: 46CDF2FD.20403@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Joshua D. Drake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Zdenek Kotala wrote:
>> Peter Eisentraut wrote:
>>> I'm having trouble with the hardcoded 60 second timeout in pg_ctl.
>>> pg_ctl sometimes just times out and there is no way to make it wait a
>>> little longer. I would like to add an option to be able to change
>>> that, say pg_ctl -w --timeout=120. Comments?
>> +1
>>
>> I played with 2GB shared buffers and stop action takes 10-20s. On system
>> with more memory 60s is not enough.
>
> Huh? I have never seen this problem.
>

It happened when I stop server after heavy performance test. I expected
that postgres tries to check if there is not some dirty page in the
buffer, but I did not investigate in it.

Zdenek

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-08-23 21:04:43 invalid data for encoding
Previous Message Joshua D. Drake 2007-08-23 20:34:54 Re: pg_ctl configurable timeout

Browse pgsql-patches by date

  From Date Subject
Next Message Heikki Linnakangas 2007-08-24 11:39:52 Re: Bunch of tsearch fixes and cleanup
Previous Message Joshua D. Drake 2007-08-23 20:34:54 Re: pg_ctl configurable timeout