Sponsored Content
Full Discussion: hd9var full
Operating Systems AIX hd9var full Post 302272258 by shockneck on Tuesday 30th of December 2008 04:41:06 AM
Old 12-30-2008
Quote:
Originally Posted by freeman
[...]/var still remains at 99% full.

when i check users i get this:
# fuser -xuc /var
/var: 8072c(root) 18404(root) 19420c(root) 23558c(root) 24276(root) 24770(root) 25284c(svcagent) 27102c(svcagent) 30242c(root) 33598(root) 38454c(root) 54872(adm)

my problem is i'm not sure which processes to kill.[...]
When you identified the process IDs you need to check which process (command) responds to them. Use
ps -ef | grep <somepid(numberonly)youfound>
to find a process that writes to some file in that dir. And you probably don't need to KILL a process, you can always reduce size of the file the process writes into. Think I told you before already: use lsof if you cannot get the information by means of the operating system.

Btw. if /var grows full I'd start checking size of wtmp. If it is (too) big, either blank it or shrink it. This can be done during operation too. Search this forum or some other AIX groups to find out how.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

/ is full HELP

Hi.. i am having a problem, for some reason my / directory is 100 % full.. and i didn't install or anything on it.. it has almost 2 gig on thr root directory.. maybe i am missing some concept because i do not understand why it get full. it is happening on all three of my system.. and i always... (9 Replies)
Discussion started by: souldier
9 Replies

2. UNIX for Advanced & Expert Users

/ is full

Hi Exprts, I faced this problem several times, which / file system is full (near 100%) and "proc" under that is the main reason. i don't know how to reduce the size as all directories under proc seems important & other dir/files under / are OS related & could not be removed. could anyone... (6 Replies)
Discussion started by: nikk
6 Replies

3. Programming

full -duplex ?

what is meant by full duplex and half duplex? b'coz in differences b\w hub and switch ,i heard lot this duplex word so please help me (1 Reply)
Discussion started by: parvathy
1 Replies

4. AIX

/dev/hd9var/ /var what should i do.

Hello my df -k show me that the /var used 93% Filesystem 1024-blocks Free %Used Iused %Iused Mounted on /dev/hd4 196608 33920 83% 2253 3% / /dev/hd2 1310720 352732 74% 25266 8% /usr /dev/hd9var 262144 18724 93%:confused: ... (8 Replies)
Discussion started by: simka
8 Replies

5. AIX

/dev/hd9var full

/dev/hd9var 819200 1928 100% 12101 12% /var the filesystem is full my self being new to aix what do i do to create space (1 Reply)
Discussion started by: freeman
1 Replies

6. Shell Programming and Scripting

How to extract strings from full path when full path is not fixed

/Path/snowbird9/nrfCompMgrRave1230100920.log.gz:09/20/2010 06:14:51 ERROR Error Message. /Path/snowbird6/nrfCompMgrRave1220100920.log.gz:09/20/2010 06:14:51 ERROR Error Message. /Path/snowbird14/nrfCompMgrRave920100920.log.gz:09/20/2010 06:14:51 ERROR Error Message.... (0 Replies)
Discussion started by: Shirisha
0 Replies

7. Red Hat

/ is full

/ has become full.... So i'm unable to login to the server. What should i do now ?? please help me... Thanks in advance (4 Replies)
Discussion started by: vamshigvk475
4 Replies

8. AIX

Problem in /dev/hd1 and /dev/hd9var

Hello AIXians, I can't boot my AIX, it hangs and stops at the code error: 0518 After searching google, I knew the problem is due to problems in File Systems. So the solution is booting from any bootable media, then run these commands in maintenance mode: #fsck -y /dev/hd4 #fsck -y... (3 Replies)
Discussion started by: Mohannad
3 Replies

9. AIX

100% Inode full with only 67% FS full.

AIX Version 6.1 and 7.1. I understand that when the OS initially creates the FS and inodes, its pretty strict, but not always tuned to a 1:1 ratio. I see the same thing when adding a whole disk LV to a separate device. It seems that when we expand a filesystem the inodes don't get tuned... (5 Replies)
Discussion started by: mrmurdock
5 Replies
snexpire,v0.3.8(8)					      System Manager's Manual						snexpire,v0.3.8(8)

NAME
snexpire - expire news under the sn system. SYNOPSIS
snexpire [-v] [-exp] newsgroup [[-exp] newsgroup]... DESCRIPTION
snexpire expires news in the sn news system, one article file (=10 articles, compile time default) at a time. snexpire always leaves behind at least one article file, so that newly entered articles will have numbers not overlapping previously used numbers. As an excep- tion if the expiration age is set to 0, then even this last file will be expired and subsequent article numbers will start from the begin- ning. You will need to be root or own /var/spool/sn to run snexpire. OPTIONS
-v Output a line for each article expired. The format of this line is the same as for snscan. ARGUMENTS
snexpire expires all newsgroups named on the command line. Each newsgroup may be preceded by -exp to control the expiration age. exp is of the form #[hdwmy] where # is a number, followed by one of the characters h,d,w,m,y representing hours, days, weeks, months and years. The default for -exp is a compile-time fixed. Each [-exp] applies to the next newsgroup only, any newsgroups after that one get default treatment unless overridden by another [-exp]. FILES MODIFIED
/var/spool/sn/newsgroup/.times, /var/spool/sn/newsgroup/[0123456789]*, /var/spool/sn/{.chain,.table}. ENVIRONMENT VARIABLES
SNROOT If this is set and is not empty, the value is used in place of /var/spool/sn, the default news spool directory. FILES
/var/spool/sn/newsgroup/.expire If this exists, its contents are taken to be exp if not overridden by -exp on the command line. N.B. Harold Tay snexpire,v0.3.8(8)
All times are GMT -4. The time now is 04:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy