HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fcntl using F_SETLKW flag hangs
Operating System - HP-UX
1835930
Members
1986
Online
110088
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 02:24 AM
06-13-2002 02:24 AM
fcntl using F_SETLKW flag hangs
Running HP-UX 11 on a K360, using cobol V4.1 revision 30.
When you run the animator it hangs, tusc shows that it opens a file (the file is on an NFS mounted filesytem) and then runs the fcntl system call with F_SETLKW as an argument.
Does anyone know of any problems with fcntl and NFS ?
When you run the animator it hangs, tusc shows that it opens a file (the file is on an NFS mounted filesytem) and then runs the fcntl system call with F_SETLKW as an argument.
Does anyone know of any problems with fcntl and NFS ?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 02:32 AM
06-13-2002 02:32 AM
Re: fcntl using F_SETLKW flag hangs
I'm no expert in NFS, just a wild guess.
I could imagine that your application cannot acquire a file lock on a remotely exported filesystem (I'm not sure if this can be guaranteed by the NFS protocol anyway?).
Better consult the man pages of nfs, nfsd, mount_nfs, fcntl...
I could imagine that your application cannot acquire a file lock on a remotely exported filesystem (I'm not sure if this can be guaranteed by the NFS protocol anyway?).
Better consult the man pages of nfs, nfsd, mount_nfs, fcntl...
Madness, thy name is system administration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 02:39 AM
06-13-2002 02:39 AM
Re: fcntl using F_SETLKW flag hangs
This is only a problem on some systems, it works on other systems that are using a different NFS server. So the problem can't be a limitation with NFS or the fcntl system call.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 08:54 AM
06-13-2002 08:54 AM
Re: fcntl using F_SETLKW flag hangs
The NFS locks are managed by the rcp.lockd daemons on both client and server sites. Lock at man lockd.
Maybe the lockd processes are not running on one or the other machine. In this case the lock request is "delayed until the server recovers", might be a long time!
Klaus
Maybe the lockd processes are not running on one or the other machine. In this case the lock request is "delayed until the server recovers", might be a long time!
Klaus
There is a live before death!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP