Re: [GENERAL] pgsql server reset the connection immediately after connected

2012-11-01 Thread Dongkuo Ma
I connect to database and then fork a new process! Now it's ok. Thanks. On Fri, Nov 2, 2012 at 11:17 AM, Adrian Klaver wrote: > On 11/01/2012 07:57 PM, Dongkuo Ma wrote: > >> Hi >> the python code is >> >> logging.info <http://logging.info>("*

Re: [GENERAL] pgsql server reset the connection immediately after connected

2012-11-01 Thread Dongkuo Ma
othing in the log file. Thanks. On Fri, Nov 2, 2012 at 10:42 AM, Adrian Klaver wrote: > On 11/01/2012 07:32 PM, Dongkuo Ma wrote: > >> Sorry! >> I typed the enter key and sent the uncomplete message. >> >> >> The psycopg2 connect function succesed,but throw

Re: [GENERAL] pgsql server reset the connection immediately after connected

2012-11-01 Thread Dongkuo Ma
. Using tcpdump, I found the server reset the connection immediately after connected, and i cann't find any log about this. This is the tcpdump log http://pastebin.com/uW0at4Zd On Fri, Nov 2, 2012 at 10:24 AM, Dongkuo Ma wrote: > Hi > Sorry for my English. > I'm running pgsql8

[GENERAL] pgsql server reset the connection immediately after connected

2012-11-01 Thread Dongkuo Ma
Hi Sorry for my English. I'm running pgsql8.4 server on debian,the client is the python library(psycopg2) on the same mechine. The client connect server via 127.0.0.1:5432. The psycopg2 connect function *succesed,but throw a exception * server closed the connection unexpectedly This probably mea