🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.rt
Article #845

Re: AIX-RT 2.2.1 login delay

#845
From: Joe Greco
Date: Thu, 16 Aug 1990 16:22
56 lines
3365 bytes
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.
Technical Details
Message-ID: <5778@uwm.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!uwm.edu!archimedes.math.uwm.edu!jgreco
References: <339@bally.Bally.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!uwm.edu!archimedes.math.uwm.edu!jgreco
From: jgreco@archimedes.math.uwm.edu (Joe Greco)
Newsgroups: comp.sys.ibm.pc.rt,comp.unix.aix
Subject: Re: AIX-RT 2.2.1 login delay
Message-ID: <5778@uwm.edu>
Date: 16 Aug 90 16:22:16 GMT
References: <339@bally.Bally.COM>
Sender: news@uwm.edu
Followup-To: comp.sys.ibm.pc.rt
Organization: University of Wisconsin, Milwaukee - Department of Mathematics
Lines: 56