Thread: ERROR Urgent

ERROR Urgent

From
"Saurabh Pathak"
Date:

  Hi ,

  I am running Postgresql on windows 2000.Sometimes when I connect postgresql from my application, I get following error on the prompt

pq_recvbuf: recv() failed: Connection reset by peer

Too many clients

Can anyone tell me what is the problem with postgresql. My application gets effected with this error. How to solve this problem. Is it related to buffer ?


Thanx.

Saurabh


Re: ERROR Urgent

From
"Uwe C. Schroeder"
Date:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Looks to me like you'd have to increase the number of connections allowed.
Increase "max_connections" and "shared_buffers" in postgresql.conf

UC

On Friday 30 July 2004 02:37 am, Saurabh Pathak wrote:
>    Hi ,
>
>    I am running Postgresql on windows 2000.Sometimes when I connect
> postgresql from my application, I get following error on the prompt
>
>  pq_recvbuf: recv() failed: Connection reset by peer
>
>  Too many clients
>
>  Can anyone tell me what is the problem with postgresql. My application
> gets effected with this error. How to solve this problem. Is it related to
> buffer ?
>
>
>  Thanx.
>
>  Saurabh

- --
Open Source Solutions 4U, LLC    2570 Fleetwood Drive
Phone:  +1 650 872 2425        San Bruno, CA 94066
Cell:   +1 650 302 2405        United States
Fax:    +1 650 872 2417
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFBCn78jqGXBvRToM4RAuWhAJwNAtiPuCfgneur9rBKO/mHzOAhlQCaAjaS
3QD7XCys2DrcpS1mGANKPik=
=8JzR
-----END PGP SIGNATURE-----