Search Postgresql Archives

Re: connection file descriptors created with identical number after process fork on mac

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/3/2016 4:25 PM, Chris Withers wrote:

How can I convince myself, from the client side, that I really have got a new connection and not somehow ended up with one that been passed on as part of the fork?

$ psql -tc "select pg_backend_pid();"
          18635

$ psql -tc "select pg_backend_pid();"
          18665

$ psql -tc "select pg_backend_pid();"
          18727


now, operating system process ID's do get recycled eventually but not very fast.

--
john r pierce, recycling bits in santa cruz



--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux