What I understand from ur post is,
1. U are using PHP for connection. what version ??? assuming u are on PHP
2. Ur Postgresql server is not tuned to handle loads.
What U can try is ......
1.Make sure that ur PHP scripts close the connection when transaction is
complete (HOW??? see after pg_connect
U see a pg_close function of PHP)
a. Use pg_pconnect and forget about pg_connect and pg_close
2. Increse the limit of connection to be made to PostgreSQL this can be
done as said by Shridhar the default is 32
3. For God sake Upgrade to PostgreSQL 7.3.2 and PHP 4.3.1 you are missing a
lot with that old versions.
Some people think it's holding on that makes one strong;
sometimes it's letting go.
pgsql-performance by date
|Next:||From: Catalin||Date: 2003-02-27 14:53:22|
|Subject: Re: [Performance] Daily Crash|
|Previous:||From: Bruno Wolff III||Date: 2003-02-27 13:30:11|
|Subject: Re: Daily crash|