[OpenAFS] context menu handler slow in OpenAFS 1.5.8 for Windows

Gurganus, Brant L gurganbl@rose-hulman.edu
Wed, 13 Sep 2006 20:11:25 -0400


This is a multi-part message in MIME format.

------_=_NextPart_001_01C6D792.5184E1A0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I turned on the pioctl debugging as you suggested and these were the
results. This is a domain-joined limited user account.

=20

0x4c3 is:

ERROR_SESSION_CREDENTIAL_CONFLICT
1219

Multiple connections to a server or shared resource by the same user,
using more than one user name, are not allowed. Disconnect all previous
connections to the server or shared resource and try again.

=20

=20

=20

C:\Documents and Settings\gurganbl>fs whereis "My Documents"

pioctl CreateFile(C:\_._AFS_IOCTL_._) failed: 0x2

        [The system cannot find the file specified.

]

pioctl Explorer logon user: [gurganbl@rose-hulman.edu]

pioctl WNetAddConnection2(\\afs,gurganbl@rose-hulman.edu) failed: 0x4C3

pioctl WNetAddConnection2(\\afs\all,gurganbl@rose-hulman.edu) failed:
0x4C3

pioctl LSA Principal logon user: [gurganbl@MS.ROSE-HULMAN.EDU]

pioctl WNetAddConnection2(\\afs,gurganbl@MS.ROSE-HULMAN.EDU) failed:
0x4C3

pioctl WNetAddConnection2(\\afs\all,gurganbl@MS.ROSE-HULMAN.EDU) failed:
0x4C3

pioctl SamCompatible logon user: [MSROSE-HULMAN\gurganbl]

pioctl CreateFile(C:\_._AFS_IOCTL_._) failed: 0x2

        [The system cannot find the file specified.

]

fs: Invalid argument; it is possible that My Documents is not in AFS.

=20

C:\Documents and Settings\gurganbl>fs whereis "My Documents"

pioctl CreateFile(C:\_._AFS_IOCTL_._) failed: 0x2

        [The system cannot find the file specified.

]

pioctl Explorer logon user: [gurganbl@rose-hulman.edu]

pioctl WNetAddConnection2(\\afs,gurganbl@rose-hulman.edu) failed: 0x4C3

pioctl WNetAddConnection2(\\afs\all,gurganbl@rose-hulman.edu) failed:
0x4C3

pioctl LSA Principal logon user: [gurganbl@MS.ROSE-HULMAN.EDU]

pioctl WNetAddConnection2(\\afs,gurganbl@MS.ROSE-HULMAN.EDU) failed:
0x4C3

pioctl WNetAddConnection2(\\afs\all,gurganbl@MS.ROSE-HULMAN.EDU) failed:
0x4C3

pioctl SamCompatible logon user: [MSROSE-HULMAN\gurganbl]

pioctl CreateFile(C:\_._AFS_IOCTL_._) failed: 0x2

        [The system cannot find the file specified.

]

fs: Invalid argument; it is possible that My Documents is not in AFS.

=20

-----Original Message-----
From: Jeffrey Altman [mailto:jaltman@secure-endpoints.com]=20
Sent: Wednesday, September 13, 2006 6:37 PM
To: Gurganus, Brant L
Cc: openafs-info@openafs.org
Subject: Re: [OpenAFS] context menu handler slow in OpenAFS 1.5.8 for
Windows

=20

Turn on pioctl() debugging (as per the debugging section of the

OpenAFS Release Notes), and then run the "fs whereis" test again.

=20

I suspect you will find the problem is that your systems are having a

hard time authenticating to the AFS Client Service.  In which case

all operations to AFS are suffering the same delays

=20

Jeffrey Altman

=20

=20

=20

Gurganus, Brant L wrote:

> The delay characteristics are reproducible using the command you

> mentioned. If it is newly run, there is a delay. If it has recently
ran

> (probably has results in a cache), then it finishes quickly.

>=20

> There appears to be no difference in output of the command when there
is

> a delay and when there is not a delay:

>=20

> C:\DOCUME~1\gurganbl>fs whereis "My Documents"

> fs: Invalid argument; it is possible that My Documents is not in AFS.

>=20

> C:\DOCUME~1\gurganbl>fs whereis "My Documents"

> fs: Invalid argument; it is possible that My Documents is not in AFS.


------_=_NextPart_001_01C6D792.5184E1A0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.5pt;
	font-family:Consolas;}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:Consolas;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoPlainText>I turned on the pioctl debugging as you =
suggested and
these were the results. This is a domain-joined limited user =
account.<o:p></o:p></p>

<p class=3DMsoPlainText><o:p>&nbsp;</o:p></p>

<p class=3DMsoPlainText>0x4c3 is:<o:p></o:p></p>

<table class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D0
 style=3D'width:0in;border-collapse:collapse'>
 <tr>
  <td width=3D"40%" valign=3Dtop style=3D'width:40.0%;border:solid =
#CCCCCC 1.0pt;
  background:white;padding:2.7pt 2.7pt 2.7pt 2.7pt'>
  <p class=3DMsoNormal><span style=3D'font-size:8.5pt;font-family:"Times =
New Roman","serif"'>ERROR_SESSION_CREDENTIAL_CONFLICT<br>
  1219<o:p></o:p></span></p>
  </td>
  <td width=3D"60%" valign=3Dtop style=3D'width:60.0%;border:solid =
#CCCCCC 1.0pt;
  border-left:none;background:white;padding:2.7pt 2.7pt 2.7pt 2.7pt'>
  <p class=3DMsoNormal><span style=3D'font-size:8.5pt;font-family:"Times =
New Roman","serif"'>Multiple
  connections to a server or shared resource by the same user, using =
more than
  one user name, are not allowed. Disconnect all previous connections to =
the
  server or shared resource and try again.<o:p></o:p></span></p>
  </td>
 </tr>
</table>

<p class=3DMsoPlainText><o:p>&nbsp;</o:p></p>

<p class=3DMsoPlainText><o:p>&nbsp;</o:p></p>

<p class=3DMsoPlainText><o:p>&nbsp;</o:p></p>

<p class=3DMsoPlainText>C:\Documents and Settings\gurganbl&gt;fs whereis =
&quot;My
Documents&quot;<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl CreateFile(C:\_._AFS_IOCTL_._) failed: =
0x2<o:p></o:p></p>

<p class=3DMsoPlainText>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [The =
system
cannot find the file specified.<o:p></o:p></p>

<p class=3DMsoPlainText>]<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl Explorer logon user: =
[gurganbl@rose-hulman.edu]<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl =
WNetAddConnection2(\\afs,gurganbl@rose-hulman.edu)
failed: 0x4C3<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl
WNetAddConnection2(\\afs\all,gurganbl@rose-hulman.edu) failed: =
0x4C3<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl LSA Principal logon user:
[gurganbl@MS.ROSE-HULMAN.EDU]<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl =
WNetAddConnection2(\\afs,gurganbl@MS.ROSE-HULMAN.EDU)
failed: 0x4C3<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl
WNetAddConnection2(\\afs\all,gurganbl@MS.ROSE-HULMAN.EDU) failed: =
0x4C3<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl SamCompatible logon user: =
[MSROSE-HULMAN\gurganbl]<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl CreateFile(C:\_._AFS_IOCTL_._) failed: =
0x2<o:p></o:p></p>

<p class=3DMsoPlainText>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [The =
system cannot
find the file specified.<o:p></o:p></p>

<p class=3DMsoPlainText>]<o:p></o:p></p>

<p class=3DMsoPlainText>fs: Invalid argument; it is possible that My =
Documents is
not in AFS.<o:p></o:p></p>

<p class=3DMsoPlainText><o:p>&nbsp;</o:p></p>

<p class=3DMsoPlainText>C:\Documents and Settings\gurganbl&gt;fs whereis =
&quot;My
Documents&quot;<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl CreateFile(C:\_._AFS_IOCTL_._) failed: =
0x2<o:p></o:p></p>

<p class=3DMsoPlainText>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [The =
system
cannot find the file specified.<o:p></o:p></p>

<p class=3DMsoPlainText>]<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl Explorer logon user: =
[gurganbl@rose-hulman.edu]<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl =
WNetAddConnection2(\\afs,gurganbl@rose-hulman.edu)
failed: 0x4C3<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl
WNetAddConnection2(\\afs\all,gurganbl@rose-hulman.edu) failed: =
0x4C3<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl LSA Principal logon user:
[gurganbl@MS.ROSE-HULMAN.EDU]<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl
WNetAddConnection2(\\afs,gurganbl@MS.ROSE-HULMAN.EDU) failed: =
0x4C3<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl
WNetAddConnection2(\\afs\all,gurganbl@MS.ROSE-HULMAN.EDU) failed: =
0x4C3<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl SamCompatible logon user: =
[MSROSE-HULMAN\gurganbl]<o:p></o:p></p>

<p class=3DMsoPlainText>pioctl CreateFile(C:\_._AFS_IOCTL_._) failed: =
0x2<o:p></o:p></p>

<p class=3DMsoPlainText>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [The =
system
cannot find the file specified.<o:p></o:p></p>

<p class=3DMsoPlainText>]<o:p></o:p></p>

<p class=3DMsoPlainText>fs: Invalid argument; it is possible that My =
Documents is
not in AFS.<o:p></o:p></p>

<p class=3DMsoPlainText><o:p>&nbsp;</o:p></p>

<p class=3DMsoPlainText>-----Original Message-----<br>
From: Jeffrey Altman [mailto:jaltman@secure-endpoints.com] <br>
Sent: Wednesday, September 13, 2006 6:37 PM<br>
To: Gurganus, Brant L<br>
Cc: openafs-info@openafs.org<br>
Subject: Re: [OpenAFS] context menu handler slow in OpenAFS 1.5.8 for =
Windows<o:p></o:p></p>

<p class=3DMsoPlainText><o:p>&nbsp;</o:p></p>

<p class=3DMsoPlainText>Turn on pioctl() debugging (as per the debugging =
section
of the<o:p></o:p></p>

<p class=3DMsoPlainText>OpenAFS Release Notes), and then run the =
&quot;fs
whereis&quot; test again.<o:p></o:p></p>

<p class=3DMsoPlainText><o:p>&nbsp;</o:p></p>

<p class=3DMsoPlainText>I suspect you will find the problem is that your =
systems
are having a<o:p></o:p></p>

<p class=3DMsoPlainText>hard time authenticating to the AFS Client =
Service.&nbsp;
In which case<o:p></o:p></p>

<p class=3DMsoPlainText>all operations to AFS are suffering the same =
delays<o:p></o:p></p>

<p class=3DMsoPlainText><o:p>&nbsp;</o:p></p>

<p class=3DMsoPlainText>Jeffrey Altman<o:p></o:p></p>

<p class=3DMsoPlainText><o:p>&nbsp;</o:p></p>

<p class=3DMsoPlainText><o:p>&nbsp;</o:p></p>

<p class=3DMsoPlainText><o:p>&nbsp;</o:p></p>

<p class=3DMsoPlainText>Gurganus, Brant L wrote:<o:p></o:p></p>

<p class=3DMsoPlainText>&gt; The delay characteristics are reproducible =
using the
command you<o:p></o:p></p>

<p class=3DMsoPlainText>&gt; mentioned. If it is newly run, there is a =
delay. If
it has recently ran<o:p></o:p></p>

<p class=3DMsoPlainText>&gt; (probably has results in a cache), then it =
finishes
quickly.<o:p></o:p></p>

<p class=3DMsoPlainText>&gt; <o:p></o:p></p>

<p class=3DMsoPlainText>&gt; There appears to be no difference in output =
of the
command when there is<o:p></o:p></p>

<p class=3DMsoPlainText>&gt; a delay and when there is not a =
delay:<o:p></o:p></p>

<p class=3DMsoPlainText>&gt; <o:p></o:p></p>

<p class=3DMsoPlainText>&gt; C:\DOCUME~1\gurganbl&gt;fs whereis &quot;My
Documents&quot;<o:p></o:p></p>

<p class=3DMsoPlainText>&gt; fs: Invalid argument; it is possible that =
My
Documents is not in AFS.<o:p></o:p></p>

<p class=3DMsoPlainText>&gt; <o:p></o:p></p>

<p class=3DMsoPlainText>&gt; C:\DOCUME~1\gurganbl&gt;fs whereis &quot;My
Documents&quot;<o:p></o:p></p>

<p class=3DMsoPlainText>&gt; fs: Invalid argument; it is possible that =
My
Documents is not in AFS.<o:p></o:p></p>

</div>

</body>

</html>

------_=_NextPart_001_01C6D792.5184E1A0--