Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* lock on /var/adm/utmp blocks login/logout for 1 minute
@ 1996-10-24  4:00 Graham Soundy
  1996-10-28  5:00 ` Yaacov Fenster
  0 siblings, 1 reply; 2+ messages in thread
From: Graham Soundy @ 1996-10-24  4:00 UTC (permalink / raw)



We're having trouble with the utmp file on our dec 4710 
alpha system running osf/1 3.0.

Every few minutes a file /var/adm/utmp.lck appears, which seems to
be hard-linked to /var/adm/utmp. While this file exists (always
between 45 and 90 seconds) all login and logout attempts are blocked.

It looks like a file lock is put on /var/adm/utmp for about a minute
after users logout from telnet or rlogin sessions. This doesnt happen
with every logout, maybe about 1 in 10 - often enough to be a major
nuisance.

When the lock file exists, I run lsof to see which processes are
accessing /var/adm/utmp, this shows a few rlogind or telnetd processes.

Other attempts to diagnose this problem suggest that the lock appears
when a user logs out, and the login shell process (ksh) becomes
temporarily <defunct> rather than disappearing. Is this something
to do with losing HUP signals??  Someone out there must have seen
this problem too...

gbs.

==============================================================================
Graham Soundy                      0       Internet: g.soundy@icrf.icnet.uk
Systems Unit Manager              /.\/        Voice:       (44)171-269-3622
Imperial Cancer Research Fund      |            Fax:       (44)171-269-3124
London WC2A 3PX, UK               / \         
============================================================================




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-10-28  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-24  4:00 lock on /var/adm/utmp blocks login/logout for 1 minute Graham Soundy
1996-10-28  5:00 ` Yaacov Fenster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox