- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 100% CPU and 100% /home
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
Forums
Discussions
Discussions
Discussions
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
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
02-09-2005 06:55 PM
02-09-2005 06:55 PM
I am running HP-UX 11.11 on a biprocessor machine.
From time to time, a process takes 100% on one CPU and the bdf command displays a full /home partition but the du -s * does not display any large file on that partition.
When I kill this process the /home partition and IDLE CPU parameter return to a normal state (34% on a 15Gb /home partition and CPU IDLE parameter ~99%)
I don't understand why this user process seems to fill /home.
Any help will be appreciated
Regards,
Olivier
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 07:12 PM
02-09-2005 07:12 PM
Re: 100% CPU and 100% /home
Else what is the application used ?
A simple Oracle Sql program can do that.
B.R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 07:57 PM
02-09-2005 07:57 PM
Re: 100% CPU and 100% /home
when the program is running use glance to monitor the process. Whilst a process is holding a file the du command may not be able to read its size, so you would not spot it.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 08:04 PM
02-09-2005 08:04 PM
Re: 100% CPU and 100% /home
Put disk quota on for the user's /home directory.
It saves it from running full by one user's activities.
Regards,
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 11:59 PM
02-09-2005 11:59 PM
SolutionTurn on quotas for /home, or even simpler: Create a small lvol (a few hundred megs) and move the user's /home/user_name directory to this lvol. Then use the empty /home/user_name directory as a mountpoint for the lvol. The user will still see the same /home but it will be on a separate lvol and when it fills up, the user has to deal with it.
Disk space and CPU cycles are a shared resource on a server and a user that consumes massive amounts of resources must be eremoved from the server and placed on a test box. You might also set ulimit -t 20 just for this user (POSIX shell or recently patched ksh). This will terminate the user process when 20 seconds of CPU time has been consumed. However, causal testing shows that this setting does not seem to work.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2005 12:20 AM
02-10-2005 12:20 AM
Re: 100% CPU and 100% /home
the way to see what files are open for a process and where they are is: Use lsof
http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.74/
This is a very useful utility, so well worth the download !
Regards