Is he using flock or lockf? Is he using non-blocking lock testing?
Justice E. Chase |
Crestar Bank thought my name was a title ...
then they demoted me to Judge.
1. ksh hangs attempting to lock history file on NFS mounted file system
We have a bunch of Unixware users, mostly running 1.1.4, who are having
this problem (ksh hangs, investigation shows it is in the process of
trying to lock the history file)
I have offered them this workaround:
There is a ksh bug that causes ksh to hang when a user has multiple shell
processes trying to share a history file in a NFS mounted directory, e.g.
the user's home directory.
Recommended fix: use this line in .profile:
HISTFILE=/tmp/.history.$$; export HISTFILE
This causes a different history file to be created for each process.
I use this myself all the time and have never experienced the problem.
I prefer to have a separate history for each process, but some of our
users here really like to have one big history file shared by all
Is there a Unixware 1.1 patch for this?
Computing and Telecommunications Services Unix System Administration Team
Internet User #19075 of the Citizens Internet Empowerment Coalition
4. Ultimate Doom episode IV on Linux?
5. More mail file locking questions (lockf, NFS, /var/spool/mail/*.lock)
7. nfs very slow, locking files across nfs ?
8. Ethernet to PPP routing problems
11. NFS file locking