- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Strange prob with /var filesystem!!!!
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
тАО09-30-2002 10:51 AM
тАО09-30-2002 10:51 AM
Strange prob with /var filesystem!!!!
System - K460
/var - 262 MB (80% full)
EMS - configured
Predictive - configured
Everyday at a particular time the var file system is getting filled up by 100%. And immidiately after that it is getting cleared up automatically. I had tried to catch hold of the process, but I couldn't do it. I have checked the cron logs also, but nothing is there. Can anybody please help me to idetify the process or the file which is getting filled up?
Thanks in advance,
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2002 11:05 AM
тАО09-30-2002 11:05 AM
Re: Strange prob with /var filesystem!!!!
1) lp spooler files in the queue. A large print request which waits in the queue and remove the entry when it's printed.
2) crontab file from a particular user (/var/spool/cron). Check all users cron files and check if any programs causing this problem.
3) Apply latest patches to the system.
4) log files from stm, EMS etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2002 11:08 AM
тАО09-30-2002 11:08 AM
Re: Strange prob with /var filesystem!!!!
Another reason to consider having separate filesystems for /var/tmp, and maybe /var/spool/lp if your print jobs are big enough.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2002 11:08 AM
тАО09-30-2002 11:08 AM
Re: Strange prob with /var filesystem!!!!
system administration and
spooling
look at
/var/adm/
check the *acct files and syslog dir for build up.
/var/spool
large print jobs spooled up will usually cause these problems
/var/mail
check for junkmail sent to local server etc....
Run a cronjob every 30 minutes to snapshot the var directory and put the file into a /tmp file.
I.E.
#!/bin/sh
LOG=/tmp/varmon.txt
#create log if not there
touch $LOG
cd /var
echo "System Snapshot" >>$LOG
date >>$LOG
echo "___________________________________" >>$LOG
du -sk * >>$LOG
echo "" >>$LOG ; echo "">>$LOG
Didnt test it, but should work.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2002 11:10 AM
тАО09-30-2002 11:10 AM
Re: Strange prob with /var filesystem!!!!
Like /tmp is used by vi etc as a scratch pad , /var/tmp is used by applications as scratch pad specially if u ahve oracle wiht lots of users , I woul recommend that u clean /var/tmp when the system comeup after booting all the time as this is not done autoamaitcally . also a crude way to find out waht is eating the the space can be to do
cd /var
ls -lR | grep log
and check for the size every 5 seconds to know what is filling up
or you can do like this
while true
ls -lR /var | grep log >> /tmp/abc
sleep 10
done
run this for the time there is a probelm and u can monitor what log files get bulky , but I think the problems is wiht /var/tmp
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2002 11:10 AM
тАО09-30-2002 11:10 AM
Re: Strange prob with /var filesystem!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2002 11:10 AM
тАО09-30-2002 11:10 AM
Re: Strange prob with /var filesystem!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2002 11:16 AM
тАО09-30-2002 11:16 AM
Re: Strange prob with /var filesystem!!!!
1. If it is from lp-spooler it may not happen at the same particular time.
2. I have looked at the crontab log and couldn't find anything. Whatever it is there, it runs every 15 or 20 min. But the problem occurs particularly at 9:40 AM. And I have looked at all the entries for the cron users and nothing has been set particularly for 9:40 AM.
3. Latest patch has to be applied within 1-2 weeks. Looking for downtime.
4.Looked at the STM and EMS log, but couldn't find anything.
Is it possible to dump something by the ups_mond daemon? As far as I could remeber it is happening shortly after installing the new UPS. I am not sure about that.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2002 11:18 AM
тАО09-30-2002 11:18 AM
Re: Strange prob with /var filesystem!!!!
Do you know exact at what time this happens. Perhaps you can get an idea if you start a script short before which monitor the /var subdirectorys where you can suspect something is going on. For example:
for dir in tmp spool cron ...
du -s $dir
sleep 5
done >logfile
Kill the script and browse the logfile. Perhaps you can see if one directory suddenly begins to grow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2002 11:25 AM
тАО09-30-2002 11:25 AM
Re: Strange prob with /var filesystem!!!!
Ow course this must be run in an infinity loop
while true
do
for dir in tmp spool cron ...
do
du -s $dir
sleep 5
done
done >logfile