[OpenAFS] Re: byte-range lock errors

Tom Mukunnemkeril Tom Mukunnemkeril <torrent_tech@yahoo.com>
Fri, 17 May 2013 19:08:44 -0700 (PDT)


---103415633-860018820-1368842924=:53312
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

I'm also seeing this every couple of seconds..perhaps even several times a =
second.=A0 It seems to be triggered right when I'm changing the URL and I g=
uess firefox is auto-guessing the URL.=A0 This is on linux 3.7.10 running O=
penafs 1.6.2 on Slackware64 14.0 machine.=0A=0AMay 17 21:58:12 mariposa ker=
nel: afs: byte-range locks only enforced for process=0Aes on this machine (=
pid 1799 (firefox), user 1001).=0AMay 17 21:58:12 mariposa kernel: afs: byt=
e-range locks only enforced for process=0Aes on this machine (pid 1799 (fir=
efox), user 1001).=0AMay 17 21:58:12 mariposa kernel: afs: byte-range locks=
 only enforced for process=0Aes on this machine (pid 1799 (firefox), user 1=
001).=0AMay 17 21:58:12 mariposa kernel: afs: byte-range locks only enforce=
d for process=0Aes on this machine (pid 1799 (firefox), user 1001).=0AMay 1=
7 21:59:27 mariposa kernel: afs: byte-range locks only enforced for process=
=0Aes on this machine (pid 1799 (firefox), user 1001).=0AMay 17 21:59:27 ma=
riposa kernel: afs: byte-range locks only enforced for process=0Aes on this=
 machine (pid 1799 (firefox), user 1001).=0AMay 17 21:59:27 mariposa kernel=
: afs: byte-range locks only enforced for process=0Aes on this machine (pid=
 1799 (firefox), user 1001).=0AMay 17 21:59:29 mariposa kernel: afs: byte-r=
ange locks only enforced for process=0Aes on this machine (pid 1799 (firefo=
x), user 1001).=0AMay 17 21:59:29 mariposa kernel: afs: byte-range locks on=
ly enforced for process=0Aes on this machine (pid 1799 (firefox), user 1001=
).=0AMay 17 21:59:30 mariposa kernel: afs: byte-range locks only enforced f=
or process=0Aes on this machine (pid 1799 (firefox), user 1001).=0AMay 17 2=
1:59:30 mariposa kernel: afs: byte-range locks only enforced for process=0A=
es on this machine (pid 1799 (firefox), user 1001).=0AMay 17 21:59:31 marip=
osa kernel: afs: byte-range locks only enforced for process=0Aes on this ma=
chine (pid 1799 (firefox), user 1001).=0AMay 17 21:59:31 mariposa kernel: a=
fs: byte-range locks only enforced for process=0Aes on this machine (pid 17=
99 (firefox), user 1001).=0AMay 17 21:59:32 mariposa kernel: afs: byte-rang=
e locks only enforced for process=0Aes on this machine (pid 1799 (firefox),=
 user 1001).=0AMay 17 21:59:32 mariposa kernel: afs: byte-range locks only =
enforced for process=0Aes on this machine (pid 1799 (firefox), user 1001).=
=0AMay 17 21:59:33 mariposa kernel: afs: byte-range locks only enforced for=
 process=0Aes on this machine (pid 1799 (firefox), user 1001).=0AMay 17 21:=
59:34 mariposa kernel: afs: byte-range locks only enforced for process=0Aes=
 on this machine (pid 1799 (firefox), user 1001).=0AMay 17 21:59:34 maripos=
a kernel: afs: byte-range locks only enforced for process=0Aes on this mach=
ine (pid 1799 (firefox), user 1001).=0AMay 17 21:59:34 mariposa kernel: afs=
: byte-range locks only enforced for process=0Aes on this machine (pid 1799=
 (firefox), user 1001).=0A=0A=0A=0A=0A=0A=0A=0A____________________________=
____=0A From: Andrew Deason <adeason@sinenomine.net>=0ATo: openafs-info@ope=
nafs.org =0ASent: Friday, May 17, 2013 12:18 PM=0ASubject: [OpenAFS] Re: by=
te-range lock errors=0A =0A=0AOn Thu, 16 May 2013 23:21:58 +0200=0AJaap Win=
ius <jwinius@umrk.nl> wrote:=0A=0A>=A0 =A0 afs: byte-range locks only enfor=
ced for processes on this machine \=0A>=A0 =A0 (pid 4538 (firefox-bin), use=
r 10000).=0A> =0A> Is it possible to enable support for byte-range locks in=
 this version=A0 =0A> of OpenAFS,=0A=0AWell, they are on, sorta. They're on=
 as much as they can be on, with=0Acurrent OpenAFS.=0A=0A> or failing that =
and since it doesn't seem to affect=A0 Firefox=0A> (Iceweasel) anyway, is i=
t possible to disable these particular=A0 error=0A> messages?=0A=0AIt doesn=
't affect you because you're running it on one machine,=0Apresumably. What =
it's warning you about is that if you access it from=0Amultiple machines at=
 the same time, you may encounter some issues.=0A=0AHow often are you seein=
g these messages? There is some simple=0Arate-limiting so you're not suppos=
ed to see them for the same process=0Amore often than once every 2 minutes.=
 But maybe it's that=0Aonce-every-two-minutes that you're talking about :)=
=0A=0AI think running this should turn them off:=0A=0Afs messages -show con=
sole=0A=0Aor =0A=0Afs messages -show none=0A=0ABut that turns off a lot of =
other messages, too. There's currently no=0Away to turn off the "byte-range=
 locks" messages specifically, though=0Adoing so of course would not be dif=
ficult from a technical perspective.=0A=0ADo you (or others) know what you'=
d want such an option to look like? It=0Acould be yet another thing in /pro=
c/sys/afs...=0A=0A-- =0AAndrew Deason=0Aadeason@sinenomine.net=0A=0A_______=
________________________________________=0AOpenAFS-info mailing list=0AOpen=
AFS-info@openafs.org=0Ahttps://lists.openafs.org/mailman/listinfo/openafs-i=
nfo
---103415633-860018820-1368842924=:53312
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<html><body><div style=3D"color:#000; background-color:#fff; font-family:ti=
mes new roman, new york, times, serif;font-size:12pt">I'm also seeing this =
every couple of seconds..perhaps even several times a second.&nbsp; It seem=
s to be triggered right when I'm changing the URL and I guess firefox is au=
to-guessing the URL.&nbsp; This is on linux 3.7.10 running Openafs 1.6.2 on=
 Slackware64 14.0 machine.<br><br>May 17 21:58:12 mariposa kernel: afs: byt=
e-range locks only enforced for process<br>es on this machine (pid 1799 (fi=
refox), user 1001).<br>May 17 21:58:12 mariposa kernel: afs: byte-range loc=
ks only enforced for process<br>es on this machine (pid 1799 (firefox), use=
r 1001).<br>May 17 21:58:12 mariposa kernel: afs: byte-range locks only enf=
orced for process<br>es on this machine (pid 1799 (firefox), user 1001).<br=
>May 17 21:58:12 mariposa kernel: afs: byte-range locks only enforced for p=
rocess<br>es on this machine (pid 1799 (firefox), user 1001).<br>May
 17 21:59:27 mariposa kernel: afs: byte-range locks only enforced for proce=
ss<br>es on this machine (pid 1799 (firefox), user 1001).<br>May 17 21:59:2=
7 mariposa kernel: afs: byte-range locks only enforced for process<br>es on=
 this machine (pid 1799 (firefox), user 1001).<br>May 17 21:59:27 mariposa =
kernel: afs: byte-range locks only enforced for process<br>es on this machi=
ne (pid 1799 (firefox), user 1001).<br>May 17 21:59:29 mariposa kernel: afs=
: byte-range locks only enforced for process<br>es on this machine (pid 179=
9 (firefox), user 1001).<br>May 17 21:59:29 mariposa kernel: afs: byte-rang=
e locks only enforced for process<br>es on this machine (pid 1799 (firefox)=
, user 1001).<br>May 17 21:59:30 mariposa kernel: afs: byte-range locks onl=
y enforced for process<br>es on this machine (pid 1799 (firefox), user 1001=
).<br>May 17 21:59:30 mariposa kernel: afs: byte-range locks only enforced =
for process<br>es on this machine (pid 1799 (firefox), user
 1001).<br>May 17 21:59:31 mariposa kernel: afs: byte-range locks only enfo=
rced for process<br>es on this machine (pid 1799 (firefox), user 1001).<br>=
May 17 21:59:31 mariposa kernel: afs: byte-range locks only enforced for pr=
ocess<br>es on this machine (pid 1799 (firefox), user 1001).<br>May 17 21:5=
9:32 mariposa kernel: afs: byte-range locks only enforced for process<br>es=
 on this machine (pid 1799 (firefox), user 1001).<br>May 17 21:59:32 maripo=
sa kernel: afs: byte-range locks only enforced for process<br>es on this ma=
chine (pid 1799 (firefox), user 1001).<br>May 17 21:59:33 mariposa kernel: =
afs: byte-range locks only enforced for process<br>es on this machine (pid =
1799 (firefox), user 1001).<br>May 17 21:59:34 mariposa kernel: afs: byte-r=
ange locks only enforced for process<br>es on this machine (pid 1799 (firef=
ox), user 1001).<br>May 17 21:59:34 mariposa kernel: afs: byte-range locks =
only enforced for process<br>es on this machine (pid 1799 (firefox),
 user 1001).<br>May 17 21:59:34 mariposa kernel: afs: byte-range locks only=
 enforced for process<br>es on this machine (pid 1799 (firefox), user 1001)=
.<br><br><br><br><div><span><br></span></div><div><br></div>  <div style=3D=
"font-family: times new roman, new york, times, serif; font-size: 12pt;"> <=
div style=3D"font-family: times new roman, new york, times, serif; font-siz=
e: 12pt;"> <div dir=3D"ltr"> <hr size=3D"1">  <font face=3D"Arial" size=3D"=
2"> <b><span style=3D"font-weight:bold;">From:</span></b> Andrew Deason &lt=
;adeason@sinenomine.net&gt;<br> <b><span style=3D"font-weight: bold;">To:</=
span></b> openafs-info@openafs.org <br> <b><span style=3D"font-weight: bold=
;">Sent:</span></b> Friday, May 17, 2013 12:18 PM<br> <b><span style=3D"fon=
t-weight: bold;">Subject:</span></b> [OpenAFS] Re: byte-range lock errors<b=
r> </font> </div> <div class=3D"y_msg_container"><br>On Thu, 16 May 2013 23=
:21:58 +0200<br>Jaap Winius &lt;<a ymailto=3D"mailto:jwinius@umrk.nl"
 href=3D"mailto:jwinius@umrk.nl">jwinius@umrk.nl</a>&gt; wrote:<br><br>&gt;=
&nbsp; &nbsp; afs: byte-range locks only enforced for processes on this mac=
hine \<br>&gt;&nbsp; &nbsp; (pid 4538 (firefox-bin), user 10000).<br>&gt; <=
br>&gt; Is it possible to enable support for byte-range locks in this versi=
on&nbsp; <br>&gt; of OpenAFS,<br><br>Well, they are on, sorta. They're on a=
s much as they can be on, with<br>current OpenAFS.<br><br>&gt; or failing t=
hat and since it doesn't seem to affect&nbsp; Firefox<br>&gt; (Iceweasel) a=
nyway, is it possible to disable these particular&nbsp; error<br>&gt; messa=
ges?<br><br>It doesn't affect you because you're running it on one machine,=
<br>presumably. What it's warning you about is that if you access it from<b=
r>multiple machines at the same time, you may encounter some issues.<br><br=
>How often are you seeing these messages? There is some simple<br>rate-limi=
ting so you're not supposed to see them for the same process<br>more
 often than once every 2 minutes. But maybe it's that<br>once-every-two-min=
utes that you're talking about :)<br><br>I think running this should turn t=
hem off:<br><br>fs messages -show console<br><br>or <br><br>fs messages -sh=
ow none<br><br>But that turns off a lot of other messages, too. There's cur=
rently no<br>way to turn off the "byte-range locks" messages specifically, =
though<br>doing so of course would not be difficult from a technical perspe=
ctive.<br><br>Do you (or others) know what you'd want such an option to loo=
k like? It<br>could be yet another thing in /proc/sys/afs...<br><br>-- <br>=
Andrew Deason<br><a ymailto=3D"mailto:adeason@sinenomine.net" href=3D"mailt=
o:adeason@sinenomine.net">adeason@sinenomine.net</a><br><br>_______________=
________________________________<br>OpenAFS-info mailing list<br><a ymailto=
=3D"mailto:OpenAFS-info@openafs.org" href=3D"mailto:OpenAFS-info@openafs.or=
g">OpenAFS-info@openafs.org</a><br><a
 href=3D"https://lists.openafs.org/mailman/listinfo/openafs-info" target=3D=
"_blank">https://lists.openafs.org/mailman/listinfo/openafs-info</a><br><br=
><br></div> </div> </div>  </div></body></html>
---103415633-860018820-1368842924=:53312--