hd9var full


 
Thread Tools Search this Thread
Operating Systems AIX hd9var full
# 1  
Old 12-30-2008
Tools hd9var full

i have deleted qf's and df's in my /var/spool/mqueue and my /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. i cant restart the server because its production
# 2  
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.
# 3  
Old 12-30-2008
thanx
using lsof i have seen that only one process was writing to directory and killed the rest. then the space changed
# 4  
Old 12-30-2008
Quote:
Originally Posted by freeman
[...]i have seen that only one process was writing to directory and killed the rest. then the space changed
I'd like to discourage you from killing processes that originate from /var (and /,/usr... and with older versions of HACMP even from /tmp) as long as you don't know for sure that the server does not need them. Should you happen to kill a process that is vital for your server the results may be unpredictable.
It is all files in AIX (as in every UNIX) and therefore problems related to space in filesystems can be solved in a non disruptive way most of the time by either shrinking/blanking files (but not deleting!)during operation or extending filesystems online.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question