[BUGS] statement stuck when the connection grew up to 45 or more

2006-05-29 Thread kah_hang_ang
Hi, I'm using Postgresql 8.1.3. Recently I facing one problem, when the connection for postgresql grow up to 45 or more, when I trigger a statement from WebApp this statement will stuck forever. I try to kill this transaction and then trigger the same statement again but it still the same. Bu

Re: [BUGS] statement stuck when the connection grew up to 45 or more

2006-06-09 Thread kah_hang_ang
I had check using ps -auxw|grep postgres & using select * from pg_stat_activity and it shows that the is really running and use 99% of the CPU. Is there any wrong with the query? As suggested by Jan Cruz, it is to fine tune the performance of the query. Even if I not fine tune the query it sho

Re: [BUGS] statement stuck when the connection grew up to 45 or more

2006-06-14 Thread kah_hang_ang
Was the box swapping during this time? No. Spec for the machine: AMD Opteron 2.4Ghz 4GB RAM 120G hard disk "Jim C. Nasby"