[OpenAFS-devel] flock Input/output error
Hans-Werner Paulsen
hans@MPA-Garching.MPG.DE
Tue, 10 Aug 2010 14:20:05 +0200
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)
for (i=3D0;i<1024;i++) {
fd =3D open("AFS-file",O_RDWR);
ret =3D flock(fd,LOCK_EX);
if ( ret < 0 ) {
perror("flock LOCK_EX");
}
close(fd);
}
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
--=20
Hans-Werner Paulsen hans@MPA-Garching.MPG.DE
MPI f=FCr Astrophysik Tel 089-30000-2602
Karl-Schwarzschild-Str. 1 Fax 089-30000-2235=09
D-85741 Garching