to much process - Mailing list pgsql-jdbc

From Didier Bretin
Subject to much process
Date
Msg-id Pine.LNX.4.21.0101290953320.10083-100000@localhost.localdomain
Whole thread Raw
Responses Re: to much process
Re: to much process
List pgsql-jdbc
Hello,

  I use postgres with my servlet on a linux box. Sometimes when I do
a 'ps auxf' I saw that I have a lot (about 20) of postgres process like this:
postgres 19025  0.0  0.7 31124  988 ?        SN    2000   4:59 /cassiope/usr/local/postgresql-7.0/bin/postmaster -D
/cassiope/var/pgdata2-p 5430 -i 
postgres 25749  0.0  2.1 31472 2724 ?        SN   09:18   0:00  \_ /cassiope/usr/local/postgresql-7.0/bin/postgres
127.0.0.1admintp truckplus_1 idle   
postgres 26528  0.0  2.3 31680 2976 ?        SN   10:00   0:00  \_ /cassiope/usr/local/postgresql-7.0/bin/postgres
127.0.0.1admintp truckplus_1 idle   
postgres 26663  0.0  2.1 31492 2788 ?        SN   10:09   0:00  \_ /cassiope/usr/local/postgresql-7.0/bin/postgres
127.0.0.1admintp truckplus_1 idle   

And sometimes when the number of process is so big, I can't connect to postgresql with jdbc :o(.
Apparently, the connections opened are not close by the garbage collector ...

Is there a solution to avoid such problem ?

Thanks.
--
            .------------------------------------------------.
    .^.     | Didier Bretin, France | dbr@informactis.com    |
    /V\     |-----------------------| www.informactis.com    |
   // \\    |                       `------------------------|
  /(   )\   | Visit: http://www.multimania.com/cieexcalibur/ |
   ^^-^^    `------------------------------------------------'


pgsql-jdbc by date:

Previous
From: Jeff Duffy
Date:
Subject: org.postgresql.Serialize
Next
From: Richard Bullington-McGuire
Date:
Subject: Re: to much process