- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /usr filling up
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
03-30-2005 02:51 AM
03-30-2005 02:51 AM
/usr filling up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 02:54 AM
03-30-2005 02:54 AM
Re: /usr filling up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 03:04 AM
03-30-2005 03:04 AM
Re: /usr filling up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 03:10 AM
03-30-2005 03:10 AM
Re: /usr filling up
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 03:23 AM
03-30-2005 03:23 AM
Re: /usr filling up
an exception would be if there are applications that write logfiles or temporary data there (none should)
out of my head I could think of squid which is often installed to /usr/local/squid and usually dumps core when the cache_dir is full. same might be valid for /opt (stm and apache would log there) so You'd see application failures, but the OS should be safe.
always take care to give larger applications a filesystem of their own. i.e. a database application would stop working in an unhealthy state when it can't commit both data and redo logs...
also, You won't be able to extend a filesystem using OnlineJFS when it is 100% full, so having a 1MB dummy file in a known location can be helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 06:51 PM
03-30-2005 06:51 PM
Re: /usr filling up
You need to make a plan to encrease the /usr mount point system.
To enlarge this mount point, you have to boot in single-user mode.
Regard,
HoangChiCong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 02:22 AM
03-31-2005 02:22 AM
Re: /usr filling up
A problem application may be storing a log file somewhere in /usr (not the right place) or you have simply loaded a lot of applications that don't use the recommended location /opt, so /usr is filling up. Start by analyzing the biggest DIRECTORIES:
du -kx /usr | sort -rn | more
On a new 11i installation with a full set of patches and some common applications, this is what /usr looks like:
1406784 /usr
769472 /usr/lib
337232 /usr/lib/nls
288856 /usr/lib/nls/loc
169144 /usr/lib/X11
145112 /usr/lib/X11/fonts
141416 /usr/lib/nls/loc/pa20_64
138408 /usr/share
138184 /usr/lib/nls/loc/pa20_64/locales.2
119960 /usr/lib/nls/loc/locales.2
115984 /usr/share/man
112632 /usr/lib/X11/fonts/TrueType
111816 /usr/sbin
107552 /usr/dt
The units of measure are Kbytes so this /usr occupies about 1.5Gb of space. If you make /usr, /opt and /var all 2Gb, you should be fairly safe for the near future. But a regular task (which should be done by a cron job) is to monitor the percentage of use for the mounted filesystems (hint: bdf)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 02:24 AM
03-31-2005 02:24 AM
Re: /usr filling up
very helpful i will fix the problem by
scheduling down time to increase /usr.
only can add up to 20% more space, out of disk.
thx again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 02:36 AM
03-31-2005 02:36 AM
Re: /usr filling up
When cleaning up /usr, you can also use:
find . -size +1000000c -print
This will locate files that are greater than a meg big and might show you if you have something that is erroneously filling up the file system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 02:56 AM
03-31-2005 02:56 AM
Re: /usr filling up
try
cd /usr
find . -mtime -5 -print |wc
If it is a high number
you might
find . -mtime -5 -print |pg
to see what files are being added or changed
On one of my systems the number is 5
that is 5 files and they were man pages.
If you get bunch. you might have your system
miss configured. and the file names should give you a clue about what needs done
Good Luck
Rory