HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rpc.lockd took excessive CPU usage
Operating System - HP-UX
1837193
Members
2506
Online
110114
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
01-26-2004 03:43 AM
01-26-2004 03:43 AM
rpc.lockd took excessive CPU usage
Hi,
I have a L3000 with a lot of user connect to it. And I saw that the process of rpc.lockd took 90 % of my CPU. Can I kill this process ? If i do this, it have an effect on the user workstation ? How I can fix this issues without affecting the production environment ? It's hp-ux 11.00 install on this server.
Thanks for you help, it's very appreciated !
I have a L3000 with a lot of user connect to it. And I saw that the process of rpc.lockd took 90 % of my CPU. Can I kill this process ? If i do this, it have an effect on the user workstation ? How I can fix this issues without affecting the production environment ? It's hp-ux 11.00 install on this server.
Thanks for you help, it's very appreciated !
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 04:30 AM
01-26-2004 04:30 AM
Re: rpc.lockd took excessive CPU usage
Hi,
rpc.lockd is required for NFS activity. It takes the requests to lock the files from the remote server and sends lock requests to the remote servers.
You shouldn't kill it if you are using NFS. If you are not using NFS, then disable NFS using /sbin/init.d/nfs.* scripts.
If you use NFS, then try to install latest NFS/ONC General Release performance patch.
-Sri
rpc.lockd is required for NFS activity. It takes the requests to lock the files from the remote server and sends lock requests to the remote servers.
You shouldn't kill it if you are using NFS. If you are not using NFS, then disable NFS using /sbin/init.d/nfs.* scripts.
If you use NFS, then try to install latest NFS/ONC General Release performance patch.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 01:46 AM
01-27-2004 01:46 AM
Re: rpc.lockd took excessive CPU usage
Yan,
rpc.lockd is probably being used for file locking of NFS mounted home directory shell history files.
Workaround for user:
put shell history files in local directory adding to /etc/profile or .profile:
export HISTFILE=/tmp/.sh_history_$LOGNAME
We suggest you check that the remote hostnames in /var/statmon/sm and /var/statmon/sm.bak can be looked up with the command:
nsquery hosts
This will use your nsswitch.conf file to look up the remote hostnames.
Then ping each hostname!!
Remove any entries that are suspect.
Also you can put rpc.lockd into debug mode and review the output. Get the PID of the running rpc.lockd, and sent it a SIGUSR2 signal to turn on debug, sent another one to turn it off...e.g. kill -17 pid
The debug output is in /var/adm/rpc.lockd.log by default. Careful, this will grow quickly. Only do this if all other steps fail since you may need HP Support to help interpret the output.
Latest ONC Cumulative patch is PHNE_29210 + dependencies!
Hope that helps,
-> Brian Hackley
rpc.lockd is probably being used for file locking of NFS mounted home directory shell history files.
Workaround for user:
put shell history files in local directory adding to /etc/profile or .profile:
export HISTFILE=/tmp/.sh_history_$LOGNAME
We suggest you check that the remote hostnames in /var/statmon/sm and /var/statmon/sm.bak can be looked up with the command:
nsquery hosts
This will use your nsswitch.conf file to look up the remote hostnames.
Then ping each hostname!!
Remove any entries that are suspect.
Also you can put rpc.lockd into debug mode and review the output. Get the PID of the running rpc.lockd, and sent it a SIGUSR2 signal to turn on debug, sent another one to turn it off...e.g. kill -17 pid
The debug output is in /var/adm/rpc.lockd.log by default. Careful, this will grow quickly. Only do this if all other steps fail since you may need HP Support to help interpret the output.
Latest ONC Cumulative patch is PHNE_29210 + dependencies!
Hope that helps,
-> Brian Hackley
Ask me about telecommuting!
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