[OpenAFS-devel] flock Input/output error
Derrick Brashear
shadow@gmail.com
Tue, 10 Aug 2010 16:59:32 -0400
What did fstrace show? Does tcpdump show aborts from the server or are
the errors locally generated?
On Tue, Aug 10, 2010 at 8:20 AM, Hans-Werner Paulsen
<hans@mpa-garching.mpg.de> wrote:
> Hello everyone,
>
> on i386_linux26, amd24_linux26 and OpenAFS-1.4.12, OpenAFS-1.5.75 I see
> the following behaviour with flock(2):
> Running 8 instances of this program (on one machine)
>
> =A0 =A0for (i=3D0;i<1024;i++) {
> =A0 =A0 =A0 =A0fd =3D open("AFS-file",O_RDWR);
> =A0 =A0 =A0 =A0ret =3D flock(fd,LOCK_EX);
> =A0 =A0 =A0 =A0if ( ret < 0 ) {
> =A0 =A0 =A0 =A0 =A0 =A0perror("flock LOCK_EX");
> =A0 =A0 =A0 =A0}
> =A0 =A0 =A0 =A0close(fd);
> =A0 =A0}
>
> I see about 10-100 error messages "flock LOCK_EX: Input/output error".
> When the fileserver is running on the same machine, there are more error
> messages.
>
> Best,
> HW
>
> --
> Hans-Werner Paulsen =A0 =A0 =A0 =A0 =A0 =A0 hans@MPA-Garching.MPG.DE
> MPI f=FCr Astrophysik =A0 =A0 =A0 =A0 =A0 =A0 Tel 089-30000-2602
> Karl-Schwarzschild-Str. 1 =A0 =A0 =A0 Fax 089-30000-2235
> D-85741 Garching
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>
--=20
Derrick