Most of the time it are ksh users which are causing these messages here. The ksh 
always sets a byte range lock on their history file in order to prevent garbling it if 
more then one ksh is running at the same time. Very bad behavior which caused us a lot 
of trouble with NFS-homedirs (NFS-locking between different vendors was never really 
working for us).


Karsten.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Yuji Shinozaki
Sent: Tuesday, July 21, 1998 3:59 PM
To: Jaeyoung Kim
Cc: [EMAIL PROTECTED]
Subject: Re: byterange lock/unlock ignore?



AFS does not support byte-range locking but responds to byte-range locking
calls to lockf and fcntl without error.  Instead it prints out these
messages to the console (which are almost always ignored or overlooked) 
at each call.  Basically, any program that does byte-range locking is
running a little dangerously in AFS space, but personally I have not seen
any problems from this.  

(Byte-range locks lock a section of a file; as opposed to whole-file locks
which lock the entire file and are more common). 

yuji
----

P.S. I wish AFS's console messages were a bit more descriptive, giving
PIDs and timestamps or at least the identity of the daemon producing the
message... We get probably a handful of these messages byte-range locking
messages a day on several hosts, but we have yet to figure out what
application is attempting the byte-range locking.  There are several other
server console messages that take experimentation and luck to figure out
what is generating them.   Anybody have a good way to identify these?

yuji
----

On Tue, 21 Jul 1998, Jaeyoung Kim wrote:

> 
> 
>       What does this error message mean? Our AFS client machine (sun4x_55)
> continuously printed out the messages to the console window. It's irritating
> me. How can I stop this message appearing?
> 
> afs: byte-range lock/unlock ignore; make sure no one else running this program
> 
> -- 
> ============================================================================
>  __/\__ ** Remember Yesterday, Dream about Tomorrow, but ... LIVE TODAY !!!
>  \ /\ / -------------------------------------------------------------------
>  /_\/_\ ** [EMAIL PROTECTED]                  http://www.postech.ac.kr/~jay
>    \/   ** Jaeyoung Kim           Dept. of Computer Science, POSTECH, KOREA
> 

Yuji Shinozaki                  Systems Administrator
[EMAIL PROTECTED]            Dept of Physics and Astronomy
http://www.physics.unc.edu      Univ. of North Carolina - CH
(919)962-7214 (voice)           CB 3255 Philips Hall
(919)962-0480 (fax)             Chapel Hill, NC  27599

Reply via email to