On Monday 14 November 2005 04:19, Martin Pitt <[EMAIL PROTECTED]> wrote:
> Thanks for your report. I see that keeping tty descriptors open is a
> problem. However, how can I check this? I started a cluster from the
> command line ('pg_ctlcluster 8.1 main start') and used 'lsof' to get
> the open fds, which only yields:
>
>   postmaste 7567 postgres    0r   CHR        1,3             601 /dev/null
>
> No tty or pty whatsoever. How did you manage to leave a tty open? Or
> is lsof not an appropriate way to check for open ttys? (It works fine
> for other programs, like bash).

postgres 16355  0.0  2.9  17876  3708 pts/3    S    23:22   0:00 postgres: 
writer process
postgres 16356  0.0  2.1   8664  2728 pts/3    S    23:22   0:00 postgres: 
stats buffer process

"ps aux|grep postgres" returns something like the above, where /dev/pts/3 in 
the above example is the terminal device for the administrator session used 
to start it.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to