Re: Understanding ps -ef "command" column

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Understanding ps -ef "command" column
Дата
Msg-id Pine.BSO.4.64.0802221612270.4123@leary.csoft.net
обсуждение исходный текст
Ответ на Understanding ps -ef "command" column  ("David Jaquay" <djaquay@gmail.com>)
Список pgsql-general

On Fri, 22 Feb 2008, David Jaquay wrote:

> In my case, I've got a connection that's hanging around after my code should
> have closed it, which means almost certainly that I've got problems in my
> code, but I'd love to be able to get that "57413" number from my jdbc object
> and write it to my logs to troubleshoot this.  Any ideas?
>

The JDBC driver has an option logUnclosedConnections[1] that can be used
to find where you've neglected to close things.  Any connection that gets
cleaned up by the garbage collector logs the stacktrace of its creation,
so you can see where it got built from.

Kris Jurka

[1] http://jdbc.postgresql.org/documentation/83/connect.html#connection-parameters

В списке pgsql-general по дате отправления:

Предыдущее
От: "Douglas McNaught"
Дата:
Сообщение: Re: Understanding ps -ef "command" column
Следующее
От: "Dot Yet"
Дата:
Сообщение: Re: Unique indicies