lkml.org 
[lkml]   [1999]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: flock broken?
Paul Jakma wrote:
> it fails here aswell, within 3-5 seconds or less depending on the
> args.

This is NOT a kernel bug, it was my fault:
the file handle was created before the fork(),
so the flock()-locks were shared by all child processes.

Result: 100 processes to get one flock():
- loadavg ~ 90
- (in another console): "ls /proc" takes nearly 7 seconds.


Thanks for you quick reply,
Manfred

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.054 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site