Re: [GENERAL] Re: 答复: [GENERAL] About could not connect to server: Connection timed out

2009-10-20 Thread Tom Lane
Craig Ringer writes: > Anyway, let me make sure I understand what you are saying. After you > reboot the server, just after the PostgreSQL service has started up, > there are several minutes where some (but not all) client connections > tend to time out. After that initial problem period, things s

[GENERAL] 答复: [GENERAL] About could not connect to server: Connection timed out

2009-10-20 Thread 黄永卫
x27;s performance cause the issue (server is too busy on that moment) ? Thank you! Ray Huang -邮件原件- 发件人: Craig Ringer [mailto:cr...@postnewspapers.com.au] 发送时间: 2009年10月20日 星期二 12:34 收件人: 黄永卫 抄送: pgsql-general@postgresql.org 主题: Re: [GENERAL] About could not connect to server: Connection timed ou

Re: [GENERAL] About could not connect to server: Connection timed out

2009-10-19 Thread Johan Nel
Craig Ringer wrote: On Tue, 2009-10-20 at 12:12 +0800, 黄永卫 wrote: Oct 18 10:46:11 SUC02 postgres[10997]: [2-1] LOG: unexpected EOF on client connection Oct 18 10:46:11 SUC02 postgres[15899]: [2-1] LOG: could not receive data from client: Connection reset by peer That looks a lot like lower-l

Re: [GENERAL] About could not connect to server: Connection timed out

2009-10-19 Thread Craig Ringer
On Tue, 2009-10-20 at 12:12 +0800, 黄永卫 wrote: > > Oct 18 10:46:11 SUC02 postgres[10997]: [2-1] LOG: unexpected EOF on > client connection > Oct 18 10:46:11 SUC02 postgres[15899]: [2-1] LOG: could not receive > data from client: Connection reset by peer That looks a lot like lower-level networki

[GENERAL] About could not connect to server: Connection timed out

2009-10-19 Thread 黄永卫
Hi, When I use ecpg code to download File from database, error occurred occasionally as below: “could not connect to server: Connection timed outIs the server running on host "DB" and acceptingTCP/IP connections on port 5432?” This my code: conn = PQse