From: soundy@europa.lif.icnet.uk (Graham Soundy)
Subject: lock on /var/adm/utmp blocks login/logout for 1 minute
Date: 1996/10/24 [thread overview]
Message-ID: <54o14p$5j5@charlie.lif.icnet.uk> (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 / \
============================================================================
next reply other threads:[~1996-10-24 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-24 4:00 Graham Soundy [this message]
1996-10-28 5:00 ` lock on /var/adm/utmp blocks login/logout for 1 minute Yaacov Fenster
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox