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
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
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
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
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 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
/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
/ 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
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
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
LEARN ABOUT DEBIAN
pmvarrun
pmvarrun(8) pam_mount pmvarrun(8)
Name
pmvarrun - updates /var/run/pam_mount/user
Syntax
pmvarrun -u user [options]
Description
A separate program is needed so that /var/run/pam_mount/user may be created with a pam_mount-specific security context (otherwise SELinux
policy will conflict with gdm, which also creates file in /var/run).
pmvarrun is flexible and can run in a number of different security setups:
root-root
When pmvarrun is invoked as root, /var/run/pam_mount's permission settings can be as strict as needed; usually (0755,root,root) is a good
pick as it gives users the debug control over their refcount. Refcount files are given their respective owners (chowned to the user who
logs in).
user-user
When invoked as the user who logs in, /var/run/pam_mount needs appropriate permissions to create a file, which means the write bit must be
set. It is also highly suggested to set the sticky bit in this case, so other users do not tamper with your refcount.
root-user
Some programs or login helpers incorrectly call the PAM stack in a way that the login phase is done as root and the logout phase as a nor-
mal user. Nevertheless, pmvarrun supports this, and the same permissions as in root-root can be used. While the user may not be able to
unlink his file from /var/run/pam_mount, it will be truncated to indicate the same state.
Options
--help, -h
Display help.
--user user, -u user
User to handle, must be a valid username.
--operation number, -o number
Increase volume count by number.
-d Turn on debugging.
Files
/var/run/pam_mount/user
Author
This manpage was originally written by Bastian Kleineidam <calvin@debian.org> for the Debian distribution of libpam-mount but may be used
by others.
See /usr/share/doc/packages/libpam-mount/copyright for the list of original authors of pam_mount.
pam_mount 2008-10-08 pmvarrun(8)