- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /var is full
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
тАО10-21-2010 01:36 PM
тАО10-21-2010 01:36 PM
/var is full
the system /var is full
anex the file large
SAPL918_RX6600:/tmp> cat var_files.txt | sort +4 -5nr | head -n 30
-rw-r--r-- 1 root root 26670362 Oct 21 16:57 ./opt/perf/datafiles/logproc
-r--r--r-- 1 bin bin 22364160 Dec 4 2008 ./opt/wbem/repository.tar
-r--r--r-- 1 bin bin 20974032 Jul 9 2007 ./adm/sw/save/PHKL_40640/VXFS-BASE-KRN/usr/conf/mod/vxfs
-rw-r--r-- 1 root root 18361996 Oct 21 16:55 ./opt/perf/datafiles/logdev
-rw------- 1 sfmdb users 16777216 Oct 6 01:05 ./opt/sfmdb/pgsql/pg_xlog/0000000000000008
-rw------- 1 sfmdb users 16777216 Oct 21 01:05 ./opt/sfmdb/pgsql/pg_xlog/0000000000000006
-rw------- 1 sfmdb users 16777216 Oct 21 01:07 ./opt/sfmdb/pgsql/pg_xlog/0000000000000007
-r-xr-xr-x 1 bin bin 16009352 Jan 12 2007 ./adm/sw/save/PHSS_38487/KWDB-RUN/usr/contrib/kwdb/lib/kwdb.ia64.so
-r-xr-xr-x 1 bin bin 15830852 Jan 12 2007 ./adm/sw/save/PHSS_38487/KWDB-RUN/usr/contrib/kwdb/lib/kwdb32.so
-r-xr-xr-x 1 bin bin 15732840 Jan 12 2007 ./adm/sw/save/PHSS_38487/KWDB-RUN/usr/contrib/kwdb/bin/kwdb.ia64
-r-xr-xr-x 1 bin bin 15577252 Jan 12 2007 ./adm/sw/save/PHSS_38487/KWDB-RUN/usr/contrib/kwdb/lib/kwdb64.so
-r-xr-xr-x 1 bin bin 15517184 Jan 12 2007 ./adm/sw/save/PHSS_38487/KWDB-RUN/usr/contrib/kwdb/bin/kwdb32
-r-xr-xr-x 1 bin bin 15285828 Jan 12 2007 ./adm/sw/save/PHSS_38487/KWDB-RUN/usr/contrib/kwdb/bin/kwdb64
-r-xr-xr-x 1 bin bin 14102952 Aug 13 2008 ./adm/sw/save/PHSS_40538/C-KRN/usr/ccs/bin/ld
-r-xr-xr-x 1 bin bin 13179112 Jan 12 2007 ./adm/sw/save/PHSS_37004/DCE-IA64-SHLIB/usr/lib/hpux64/libdcekt.so.1
-r-xr-xr-x 1 bin bin 13064296 Jan 12 2007 ./adm/sw/save/PHSS_37004/DCE-IA64-SHLIB/usr/lib/hpux32/libdcekt.so.1
-r-xr--r-- 1 root sys 11151872 Jul 13 2009 ./adm/sw/products/SFM-CORE/EMT_COREIA/cerdump-min
-r--r--r-- 1 bin bin 9928518 Feb 15 2007 ./adm/sw/save/PHSS_37501/LANG-64ALIB/usr/lib/hpux64/libstd_v2.a
-rw-r--r-- 1 root root 9065480 Oct 21 16:55 ./opt/perf/datafiles/logtran
-r--r--r-- 1 bin bin 8580110 Feb 15 2007 ./adm/sw/save/PHSS_37501/LANG-MIN/usr/lib/hpux32/libstd_v2.a
-r-xr-xr-x 1 bin bin 6487848 Aug 13 2008 ./adm/sw/save/PHSS_40538/C-MIN/usr/ccs/bin/elfdump
-rw-r--r-- 1 root root 6456064 Oct 21 16:55 ./opt/perf/datafiles/logglob
-rw------- 1 sfmdb users 6365184 Oct 21 01:05 ./opt/sfmdb/pgsql/base/17142/17261
-r-xr-xr-x 1 bin bin 6277848 Aug 13 2008 ./adm/sw/save/PHSS_40538/CMDS2-AUX/usr/ccs/bin/fastbind
-r--r--r-- 1 bin bin 6209240 Jan 11 2009 ./adm/sw/save/PHKL_40160/CORE2-KRN/usr/conf/mod/kwdb
-r-xr-xr-x 1 bin bin 5977560 Jan 12 2007 ./adm/sw/save/PHSS_37004/DCE-COR-64SLIB/usr/lib/pa20_64/libdcekt.1
-r-xr-xr-x 1 bin bin 5915656 Aug 13 2008 ./adm/sw/save/PHSS_40538/CMDS2-AUX/usr/ccs/bin/chatr
-r-xr-xr-x 1 bin bin 5402624 Jan 12 2007 ./adm/sw/save/PHSS_37004/DCE-CORE-SHLIB/usr/lib/libdcekt.1
-r--r--r-- 1 bin bin 5344504 Jan 11 2009 ./adm/sw/save/PHKL_40207/CORE2-KRN/usr/conf/mod/pm_sched
-r-xr-xr-x 1 bin bin 5316980 Jul 6 2008 ./adm/sw/save/PHCO_38658/PROG2-AUX/usr/lib/hpux32/libp/libc.so.1
The directory
SAPL918_RX6600:/var/opt/perf/datafiles> du -sk *
8 RUN
8 agdb
0 agdb.lk
8 classinfo.db
5152 logappl
17976 logdev
6320 logglob
16 logindx
8 logpcmd0
26104 logproc
8872 logtran
1296 mikslp.db
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2010 01:43 PM
тАО10-21-2010 01:43 PM
Re: /var is full
total 131632
-rw-r--r-- 1 root bin 472 Sep 6 10:24 .glancerc
-rw-r--r-- 1 root bin 7540 Sep 6 10:24 .gpm
-rw-r--r-- 1 root root 31 Oct 16 23:59 RUN
-rw-r--r-- 1 root root 105 Sep 6 10:40 agdb
-rw-r--r-- 1 root root 0 Sep 6 10:40 agdb.lk
-rw-rw-rw- 1 root root 168 Oct 21 17:11 classinfo.db
-rw-r--r-- 1 root root 5264464 Oct 21 17:10 logappl
-rw-r--r-- 1 root root 18381024 Oct 21 17:10 logdev
-rw-r--r-- 1 root root 6457576 Oct 21 17:10 logglob
-rw-r--r-- 1 root root 15856 Oct 16 23:59 logindx
-rw-r--r-- 1 root root 15 Sep 6 10:40 logpcmd0
-rw-r--r-- 1 root root 26731366 Oct 21 17:11 logproc
-rw-r--r-- 1 root root 9068864 Oct 21 17:10 logtran
-rw-r--r-- 1 root sys 1321635 Sep 6 10:28 mikslp.db
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2010 01:50 PM
тАО10-21-2010 01:50 PM
Re: /var is full
Whatever you do, do *not* manage (manually remove) anything in '/var/adm/sw'. This is the IPD (Installed Product Database) that drives the SD utilities ('swlist', 'swinstall', 'swremove', etc.). If you capriciously chose objects to remove, you will find yourself with a system that you can no longer patch.
You can generally reclaim considerable space in '/var' by running:
# cleanup -c 1
This will remove rollback images of patches that have been superseded at least once. This is quite safe to do.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2010 02:03 PM
тАО10-21-2010 02:03 PM
Re: /var is full
### Cleanup program started at 10/21/10 17:32:25
Commit patches superseded at least 1 time(s) on 'SAPL918'.
Obtaining superseded patch information...done.
No non-committed patches superseded at least 1 time(s) are present.
All information has been logged to /var/adm/cleanup.log.
### Cleanup program completed at 10/21/10 17:32:25
SAPL918_RX6600:/var> bdf .
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol8 15728640 15728640 0 100% /var
SAPL918_RX6600:/var>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2010 02:53 PM
тАО10-21-2010 02:53 PM
Re: /var is full
So what file did you remove?
Also did you look at the subdirectories that Bill listed in the previous posting?
Another place to look for is /var/tmp. It can have a huge number of small files that may be left behind by running processes. A good rule is to delete anything that is older from the server uptime but not open (not being used by any process).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2010 08:09 PM
тАО10-21-2010 08:09 PM
Re: /var is full
du -kx /var | sort -rnk | head -20
The largest directories is where you would look for problems. The /var/opt/perf/datafiles will have large files but that is normal. Post the output of the above command.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2010 10:19 PM
тАО10-21-2010 10:19 PM
Re: /var is full
#find . -xdev -size +100000 -exec ls -lrt {} \;
It will find the large files so that u can choose & del. you can del old files from /var/tmp also.
Regards,
Ani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2010 11:08 PM
тАО10-21-2010 11:08 PM
Re: /var is full
you can check the space in VG00 and increase the /var size to 2GB.
before doing so you have to create space in /var as it is 100% full it will not allow u to run the fsadm command on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2010 12:08 AM
тАО10-22-2010 12:08 AM
Re: /var is full
Once I had a situation like this and nothing seemed logical but some cleanup execs in cron got stuck and finally I have to find the process under /var and killed it solved problem. The command is useful to find excessive size used there :
# lsof /var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2010 01:48 AM
тАО10-22-2010 01:48 AM
Re: /var is full
/dev/vg01/lvswsave 1536000 942531 556872 63% /var/adm/sw/save
/dev/vg02/lvperflog 2048000 1035749 949049 52% /var/opt/perf/datafiles
Create new fs and move data to new fs.
rgs,