From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a06a5eeb7f587292,start X-Google-Attributes: gidfee84,public From: soundy@europa.lif.icnet.uk (Graham Soundy) Subject: lock on /var/adm/utmp blocks login/logout for 1 minute Date: 1996/10/24 Message-ID: <54o14p$5j5@charlie.lif.icnet.uk>#1/1 X-Deja-AN: 192113195 organization: Imperial Cancer Research Fund newsgroups: comp.unix.osf.osf1 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 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 / \ ============================================================================