[comp.sys.ibm.pc.rt] AIX-RT 2.2.1 login delay

pete@bally.Bally.COM (Pete Gregory ) (08/16/90)

Hi - 

I would like to know the source/cause for the delay between logout and
the next login: prompt.  On our system it is five to ten seconds.

Is this delay changeable/removable?  Ignorant minds want to know....

Again, we have 6150/135 RT's running AIX 2.2.1...

Pete Gregory           : uucp:   uunet!bally!pete              |
Bally Systems          : domain: pete@bally.bally.com       ---|---
5270 Neil Rd, Suite 301: phone:  702-689-2485                  |
Reno, NV 89502         : FAX:    702-689-2417                  |

"And we know that God causes all things to work together for good to those
who love God, to those who are called according to his purpose."  Romans 8:28

jgreco@archimedes.math.uwm.edu (Joe Greco) (08/16/90)

In comp.sys.ibm.pc.rt article <339@bally.Bally.COM>, pete@bally.Bally.COM (Pete Gregory ) wrote:
:I would like to know the source/cause for the delay between logout and
:the next login: prompt.  On our system it is five to ten seconds.
:
:Is this delay changeable/removable?  Ignorant minds want to know....
:
:Again, we have 6150/135 RT's running AIX 2.2.1...

No experience with AIX, but on our RT running AOS we encounter similar
delays - and something even stranger.

My understanding of how-it-all-works is that when a session terminates, init
(pid 1) catches a signal, updates wtmp, and then spawns a getty.  I'm not
sure which step is most responsible for the delay, but as you can see there
are several places it could occur.

We have an even more interesting problem: we're using an auto-baud rate
determining getty which apparently DIES after a short period.  A lastcomm
reveals the following pattern:

getty      S     root     tty00      0.03 secs Thu Aug 16 08:41
getty      S     root     tty03      0.03 secs Thu Aug 16 08:41
getty      S     root     tty01      0.06 secs Thu Aug 16 08:41
getty      S     root     tty02      0.03 secs Thu Aug 16 08:41
getty      S     root     ttyc0      0.03 secs Thu Aug 16 08:41
getty      S     root     tty00      0.05 secs Thu Aug 16 08:41
getty      S     root     tty03      0.03 secs Thu Aug 16 08:40
getty      S     root     tty01      0.05 secs Thu Aug 16 08:40
getty      S     root     tty02      0.06 secs Thu Aug 16 08:40
getty      S     root     ttyc0      0.03 secs Thu Aug 16 08:40
getty      S     root     tty00      0.05 secs Thu Aug 16 08:40
getty      S     root     tty03      0.05 secs Thu Aug 16 08:40
getty      S     root     tty01      0.05 secs Thu Aug 16 08:39
getty      S     root     tty02      0.05 secs Thu Aug 16 08:39
getty      S     root     ttyc0      0.05 secs Thu Aug 16 08:39
getty      S     root     tty00      0.06 secs Thu Aug 16 08:39
getty      S     root     tty03      0.05 secs Thu Aug 16 08:39

This is not optimal behaviour IMHO.  We're using a Gandalf PACX, and I'm not
sure where the fault lies.  ttyc0 is not attached, so I'm suspecting that
auto-baud is at fault.  Anyways, I don't think much can be done about the
delay.  If you Really Need a login prompt right away, put an

exec login

at the end of everyone's logout script.  ;-)  Might even work.

... Joe

-------------------------------------------------------------------------------
Joe Greco - University of Wisconsin, Milwaukee - Department of Mathematics
jgreco@archimedes.math.uwm.edu		USnail: Joe Greco
Voice: 414/321-6184				9905 W. Montana Ave.
Data:  414/321-9287 (Happy Hacker's BBS) 	West Allis, WI  53227-3329
#include <witty_and_humorous_saying.h>
Disclaimer: I don't speak for the Math Department, the University, or myself.