mysqld_safe holding open a pty/tty on FreeBSD (7.x and 8.x)

Adam Vande More amvandemore at
Thu Sep 30 07:00:44 UTC 2010

On Thu, Sep 30, 2010 at 1:51 AM, Jeremy Chadwick
<freebsd at>wrote:

> Something interesting I've come across which happens on both RELENG_7
> and RELENG_8 (indicating it's not a problem with the older tty code or
> the newer pty/pts code), and it's reproducible on Linux (sort of...).
> mysqld_safe appears to hold a pty/tty open even after the process has
> been backgrounded.  I can understand how/why this might occur, just not
> in this particular case.

Actually cam across this the other day:

It appears you aren't the only one to notice the issue.

Adam Vande More

More information about the freebsd-stable mailing list