Re: Open connections
От | Dave Cramer |
---|---|
Тема | Re: Open connections |
Дата | |
Msg-id | 41D15B20.5000409@fastcrypt.com обсуждение исходный текст |
Ответ на | Open connections ("Nico" <nicohmail-postgresql@yahoo.com>) |
Список | pgsql-jdbc |
Nico, this is somewhat problematic, the only way to do this is to use the unix tool ps to determine the number of processes. A much better way to do this is to use a robust connection pool like dbcp from apache, which will manage your connections for you. Dave Nico wrote: >I would like to know how many connections are open at a certain time from a >servlet, so I can anticipate connection errors. How do I do that? > >Nico. > > > >---------------------------(end of broadcast)--------------------------- >TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > > > > -- Dave Cramer http://www.postgresintl.com 519 939 0336 ICQ#14675561
В списке pgsql-jdbc по дате отправления: