- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fuser uses too much CPU
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО03-24-2010 11:56 PM
тАО03-24-2010 11:56 PM
Re: fuser uses too much CPU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2010 12:46 AM
тАО03-25-2010 12:46 AM
Re: fuser uses too much CPU
Here is a nice document about it, I later found.
http://docs.hp.com/en/1216/pstat_whitepaper.pdf
So we know now it was not fuser/lsof is doing something wrong.
In my case it was also "utild" that owns the pid which need that much pstat calls and has that much memory regions.
So asking HP will be the best.
Evidently this behavior of "utild" exists over at least two different HP-UX versions. HP-UX 11.11 (my case) and still on HP-UX 11.31 (Fedons Case).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2010 02:15 AM
тАО03-25-2010 02:15 AM
Re: fuser uses too much CPU
Not really. :-)
fuser or lsof could be optimized to ask pstat_getprocvm(2) for N regions at one time, not one. This could make it N times faster, even for the utild(1m) hog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2010 05:56 AM
тАО03-30-2010 05:56 AM
Re: fuser uses too much CPU
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=NEWFUSER11i
The package includes also brunch of patches installation requires a reboot.
It is available for free but it is just for 11.11 so no help for Fedon
I installed it on a test box and can confirm that the number of pstat calls used by the new fuser command was reduced considerable, with a different pstat API usage.
We hope that this fixes the problem discussed here, but there is no way to prove it, because we do not know how to
reproduce the problem if it is once gone due to a reboot or a restart of utild.
We just can wait, but the issue seams to occur only on system with significant uptime about 100 days or more.
Since it took a long time and much effort for me to get new software on productive systems I agreed with HP Support to stop analyzing this issue for my case.
I put the fuser update into the queue for software updates brought to production and wait if we ever see this problem again.
Let us wait and see what we will hear from Fedon and HP-UX 11.31
- Tags:
- pstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2010 07:04 AM
тАО03-30-2010 07:04 AM
Re: fuser uses too much CPU
I haven't got any response from HP Support yet.
BTW, this will not solve your problem with other commands, like lsof. Don't they think that there might be a problem with utild?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2010 07:08 AM
тАО03-30-2010 07:08 AM
Re: fuser uses too much CPU
There is an obvious way, create a program that creates 27+ K memory regions.
Or look closely at the tusc output:
pstat(PSTAT_PROC_VM, 0x7eff3f80, 104, 24924, 27324) . = 1
pstat should return a multiple of 1 and that 104 should be that multiple or larger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2010 10:48 PM
тАО07-14-2010 10:48 PM
Re: fuser uses too much CPU
PHSS_41179 11.31 linker + fdp cumulative patch
PHSS_41178 s700_800 11.23 linker + fdp cumulative patch
PHSS_41214 s700_800 11.11 ld(1) and linker tools cumulative patch
- « Previous
- Next »