AIX-RT 2.2.1 login delay

Joe Greco jgreco at archimedes.math.uwm.edu
Fri Aug 17 02:22:16 AEST 1990


In comp.sys.ibm.pc.rt article <339 at bally.Bally.COM>, pete at 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 at 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.



More information about the Comp.unix.aix mailing list