- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Filesytem 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
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
тАО04-25-2001 12:49 PM
тАО04-25-2001 12:49 PM
Filesytem Filling Up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2001 12:58 PM
тАО04-25-2001 12:58 PM
Re: Filesytem Filling Up
Are you doing a large sort perhaps? (check with 'ps -ef|grep sort').
By default, sort uses /var/tmp as a workspace unless the environmental variable TMPDIR is set or the sort is specified with the '-T' option.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2001 01:04 PM
тАО04-25-2001 01:04 PM
Re: Filesytem Filling Up
cd /var
du > /tmp/list1
wait a few minutes
du > /tmp/list2
diff /tmp/list1 /tmp/list2
We should then be able to at least see what's changing and then perhaps do an lsof on some of the files/directories in question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2001 01:13 PM
тАО04-25-2001 01:13 PM
Re: Filesytem Filling Up
You might try doing an 'fuser -cu /var' and look at each process that is returned and see if it is a normal system process or something out of the ordinary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2001 03:43 PM
тАО04-25-2001 03:43 PM
Re: Filesytem Filling Up
Remember that in /var, lots of data is constantly succeptable to change!
You said you looked at the syslog, but how about wtmp, btmp, /var/spool/mail, /var/spool/lp, etc....
Everything under /var is pretty well defined by name what it is for, so look at the changes to var to deternime!
I.E.
> cd /var
>du -sk *
>sleep 120
>du -sk *
if /var/adm is larger, then this is either syslog or accounting files
if /var/spool is growing, see what is growing with the spool by doing just what is above
>cd /var/spool
>du -sk *
>sleep 120
>du -sk *
is /var/spool/lp growing? is it /var/spool/cron?
If it is /var/dt, then something is wrong with the X Server, so look at /var/dt/Xerrors!
I think you get the idea anyway.
Just remember that many files if they are plain old deleted can have adverse effects on the OS, so look at man pages to see how to reset!
I.E. It is not good to remove wtmp! simply running accounting will reset those files properly! However, it creates other files in the process which can be deleted after accounting is done!
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2001 04:20 AM
тАО04-26-2001 04:20 AM
Re: Filesytem Filling Up
there was a recent thread on this with an informix DB. Are you runnning Informix ?
You should search the forum for it.
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2001 04:40 AM
тАО04-26-2001 04:40 AM
Re: Filesytem Filling Up
Check /var/spool for print jobs.
Check /var/spool/cron for cron output and log files.
Check /var/crash for dumps to delete.
do the following
cd /var
du -x|sort -rn|more
check what files are at the top of the list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2001 05:00 AM
тАО04-26-2001 05:00 AM
Re: Filesytem Filling Up
You might compare bdf /var and du -sk /var output to see if there's much difference in size. If so and since you aren't getting new messages to syslog...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2001 05:51 AM
тАО04-26-2001 05:51 AM
Re: Filesytem Filling Up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2001 10:06 AM
тАО04-26-2001 10:06 AM
Re: Filesytem Filling Up
Thank you everyone for responding. You've all been very helpful in one way or another. I discovered that the source of the problem was cron. There were tmp files in /var/spool/cron/tmp that I found by using the command du -kx /var | sort -nr | grep ^....[0-9]. What I'm trying to figure out now is why did that happen. There were no cron jobs scheduled for that day. There wasn't anything written to the syslog.log file or in mail. Any suggestions.
Thanks,
Peggy