- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- File System
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
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
01-09-2008 08:01 AM
01-09-2008 08:01 AM
How can i reduce this, except increasing the FS...??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2008 08:11 AM
01-09-2008 08:11 AM
Re: File System
/var/log and /var/adm/syslog ?
Is /var/adm/wtmp getting to big ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2008 08:13 AM
01-09-2008 08:13 AM
Re: File System
Begin by finding out what process or processes is responsible. What files in what subdirectories do you find?
You can look for the largest directories with:
# du -k /var|sort -knr1,1|more
Look for recent files (those created in the last 24-hours) with:
# find /var -xdev -type f -mtime 0 -exec ls -l {} \;
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2008 08:36 AM
01-09-2008 08:36 AM
Re: File System
check the size of wtmp and sulog ...
if the wtmp file is growing quickly then identify what is login into your system and also investigate a rapid growing sulog file.
run
find /var -xdev |xargs ls -ld |sort -rnk5
to find the largest file to the smallest on the filesystem.
investigate what procs are writing to the fs by running:
ps -p "$(fuser -c /var 2>/dev/null)"
let us know what the top offending files are ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 08:07 AM
01-10-2008 08:07 AM
Re: File System
In my system I have a Filesystem for /var/adm/crash. You can remove files of /var/tmp and empty logfiles of /var/opt/
check size of /var/adm/syslog/mail.log,syslog.log, OLDsyslog and /var/adm/btmp,wtmp nettl00.log
i hope help you with tis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2008 05:57 PM
01-12-2008 05:57 PM
Re: File System
873 ? 3:17 sshd
688 ? 0:00 ptydaemon
702 ? 0:00 hotplugd
725 ? 0:00 ntl_reader
726 ? 9:12 netfmt
1194 ? 39:50 snmpdm
1268 ? 43:49 cimserver
These are the processes which are being at present...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2008 05:57 PM
01-12-2008 05:57 PM
Re: File System
873 ? 3:17 sshd
688 ? 0:00 ptydaemon
702 ? 0:00 hotplugd
725 ? 0:00 ntl_reader
726 ? 9:12 netfmt
1194 ? 39:50 snmpdm
1268 ? 43:49 cimserver
These are the processes which are being written by FS at present...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2008 06:20 PM
01-12-2008 06:20 PM
Re: File System
cd /var
pwd
find . -type f -xdev -size +10000000c -exec ll {} \;
If it shows lots of file then increase on Zero in the command syntax.
once you locate those files which are big .. you may decide to nullify them or move them based on the file types.
If they are log files then they can be nullyfied, and if there is a crashdump under /var/adm/crash then take a tape backup of the same and remove it from the server.
If doubts then post the largest files present in the /var.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2008 06:21 PM
01-12-2008 06:21 PM
Re: File System
Another common problem is simply bad code. It is very common (and normal) to use /var/tmp for temporary files. You may have a situation in which processes are dying and not cleaning up their files. Using kill -9 will have the same effect because a SIGKILL cannot be ignored and no cleanup is done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2008 06:34 PM
01-12-2008 06:34 PM
Re: File System
The cron log is growing, and as suggested by u, i viewed the file, but no error was found...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2008 07:24 PM
01-12-2008 07:24 PM
Re: File System
What you are seeing may also be normal but you do not have automated processes in place to trim logs.
For the moment, I would look for other rapidly growing files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2008 07:48 PM
01-12-2008 07:48 PM
Re: File System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2008 07:56 PM
01-12-2008 07:56 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2008 08:30 AM
01-13-2008 08:30 AM