LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 05-12-2009, 01:49 PM   #1
kpj104
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Rep: Reputation: 0
Question fcntl F_SETLKW on NFS


Good Day,

I apologize in advance if this is the incorrect forum on this site to post this. I am looking for answers on fcntl in a 2.6 kernel, or really anywhere. We have a piece of proprietary software which spawns many child processes, each attempting to get a F_SETLKW on the same file. From what I understand, if the previous child process has not passed F_SETLKW type=F_UNLCK the next child process will sleep and retry. My question involves this sleep time, and whether there is a system control variable or some other way to lower it. It seems to be 30 seconds for now, and I'd like it to be less than that.

I will mention that we only see that it has to wait when running on a file located on an NFS mount.

Thanks in advance for any insight.

Kevin
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to lock files using fcntl() and to work between threads of the same process mistretzu Programming 6 11-05-2007 01:45 PM
Cannot find a file : fcntl.c ankit4u1 Red Hat 6 08-06-2007 07:15 PM
Do ioctl and fcntl affect pending data on a socket? Millenniumman Programming 2 07-03-2007 04:28 PM
fcntl I can not understand use level3 Programming 5 06-15-2006 04:15 AM
is a socket already opened? fcntl(); Thinking Programming 1 09-19-2005 10:47 AM


All times are GMT -5. The time now is 02:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration