Re: pg_ctl configurable timeout - Mailing list pgsql-hackers

From Zdenek Kotala
Subject Re: pg_ctl configurable timeout
Date
Msg-id 46CDF2FD.20403@sun.com
Whole thread Raw
In response to Re: pg_ctl configurable timeout  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: pg_ctl configurable timeout
Next
From: Andrew Dunstan
Date:
Subject: invalid data for encoding