Re: strange delays on console logouts (tty != 1)

From: Petr Vandrovec
Date: Sat May 01 2004 - 20:13:22 EST


On Sat, May 01, 2004 at 04:44:44PM -0700, Chris Wedgwood wrote:
> On Sun, May 02, 2004 at 01:24:48AM +0200, Petr Vandrovec wrote:
>
> > I do not think that it is init...
>
> No, it's not.

Though it would be nice to be able to strace init too...

> > (3) when you have bad luck then scheduled hangup work runs AFTER
> > newly created agetty calls VT_OPENQRY, and you get an error that
> > ttyX is already in use...
>
> Unless I misunderstand you, I'm not conviced... it get tty's 'stuck',
> they never come right even after hours or days.

It is strange. After logout it always comes up after 10 seconds delay in first
agetty run expires. Only on first start some of them need more than one attempt
to come up.

Do not you start some multithreaded daemons from shell which gets later
'stuck'? Maybe that controlling terminal handling is not 100% yet. Do not
some daemons "randomly" disappear since you use vhangup in agetty? ;-) AFAIK
controlling terminal is not available through /proc :-(
Best regards,
Petr Vandrovec

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/