- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /var volume problem
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
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-03-2002 07:36 PM
тАО09-03-2002 07:36 PM
1.the size of /var volume increase dramatically , but I can't find what file has increased the size , how to avoid it?
2.nothing write to the syslog, the size always is 0 , what is wrong in the file?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 07:44 PM
тАО09-03-2002 07:44 PM
Re: /var volume problem
As fas as the /var increase, it could be due to print files, mail files, tmp files or other things are there temporarily and once printed or the mail is sent, they are going.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 07:50 PM
тАО09-03-2002 07:50 PM
Re: /var volume problem
YOu mena the size has decreased , /var is the home for lots of logs , all you can do it to do like this
cd /var
ls -l R | grep log and
check for which file is bulky
and trim it .
Check for /var/tmp as this doesnt get cleared when the system is booted
2. cd /var/syslog/syslog.log should ahve some entriers and also check for the soize of OLDsyslog.log
If the size of /var reduces then some logging gets stopped too ,
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 07:55 PM
тАО09-03-2002 07:55 PM
Re: /var volume problem
It is a little difficult to stop processes and files using /var as it can be a general dumping area. You can implement script(s) to look after the filesystem monitoring. Attached is a good example from Bill Hassell. To find the sub-directories that contain large amounts of space, run this command(s)
# cd /var
# du -sk * |more
You will most likely find that the problem lies within /var/tmp or if you have done patching recently in /var/adm/sw
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 08:23 PM
тАО09-03-2002 08:23 PM
SolutionFor question 1, the above experts have given you the answer.
For question 2, I have seen it before. Maybe the syslogd daemon is hung up.
You can restart it then,
1. kill `cat /var/run/syslog.pid` and then type /sbin/init.d/syslogd start
OR
2. kill -HUP `cat /var/run/syslog.pid` to let it re-read it's configuration file
To ensure the syslogd is working, it can ftp to the machine with a valid user but wrong password then the syslog.log will show error.
Hope this help,
Regards,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 09:12 PM
тАО09-03-2002 09:12 PM
Re: /var volume problem
/var/adm/wtmp
/var/adm/crash/core*
/var/spool/lp (do not remember the correct path)
hv a look at these files
kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 09:38 PM
тАО09-03-2002 09:38 PM
Re: /var volume problem
you ask a lot of questions and receive a good deal of help, but you don't assign points to more than 100 responses.
Are the forums not helpful or jams your assign-button?
regards
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 10:03 PM
тАО09-03-2002 10:03 PM
Re: /var volume problem
(We've a fairly large database, but for most users, it's pretty difficult to come up with a query that would spit out more than a few hundred MB of print job -- this talented individual had managed to come up with a job over 8GB!)
good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2002 11:39 PM
тАО09-04-2002 11:39 PM
Re: /var volume problem
You should be able to identify the big files by using find
cd /var
find . -size +10000000c -exec ls -l {} \;>/tmp/big_files
this will list all files greater than approx. 10Mb, change the value as required.
Tony