1849279 Members
5344 Online
104042 Solutions
New Discussion

open file?

 
Prashant Zanwar_4
Respected Contributor

open file?

I have some open files under /tmp which is showing file system full,

bdf /tmp
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol5 2048000 2048000 0 100% /tmp

du -sk /tmp
6450 /tmp


Is there any way to know what is causing it, i tried lsof +aL1 /tmp, below is output -

Thanks for replying






"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: open file?

It seems everything is in your lsof output.

It seems you have several programs all writing to the 2 Gb file with inode 19042.

If you can't find it using ll, you might be able to use find(1), unless the file was unlinked:
$ find /tmp -inum 19042
whiteknight
Honored Contributor

Re: open file?

hi Prashant,

See the lsof output, there are programs that locking your /tmp. I believe the user oazctes1 is executing some programs?

or what is FNDLIBR do ? Please check with your dba if this is a normal behaviour ?


COMMAND PID USER FD TYPE DEVICE SIZE/OFF NLINK NODE NAME
FNDLIBR 142 oazctes1 4w REG 64,0x5 2147483647 0 19042 /tmp (/dev/vg00/lvol5)
POXCON 159 oazctes1 4w REG 64,0x5 2147483647 0 19042 /tmp (/dev/vg00/lvol5)
FNDLIBR 244 oazctes1 4w REG 64,0x5 2147483647 0 19042 /tmp (/dev/vg00/lvol5)
FNDLIBR 269 oazctes1 4w REG 64,0x5 2147483647 0 19042 /tmp (/dev/vg00/lvol5)
POXCON 323 oazctes1 4w REG 64,0x5 2147483647 0 19042 /tmp (/dev/vg00/lvol5)
POXCON 582 oazctes1 4w REG 64,0x5 2147483647 0 19042 /tmp (/dev/vg00/lvol5)
RCVOLTM 781 oazctes1 4w REG 64,0x5 2147483647 0 19042 /tmp (/dev/vg00/lvol5)
RCVOLTM 893 oazctes1 4w REG 64,0x5 2147483647 0 19042 /tmp (/dev/vg00/lvol5)
FNDLIBR 946 oazctes1 4w REG 64,0x5 2147483647 0 19042 /tmp (/dev/vg00/lvol5)
RCVOLTM 992 oazctes1 4w REG 64,0x5 2147483647 0 19042 /tmp (/dev/vg00/lvol5)
Problem never ends, you must know how to fix it
whiteknight
Honored Contributor

Re: open file?

hi Prashant,

See the lsof output, there are programs that locking your /tmp. I believe the user oazctes1 is executing some programs and the process is locking your /tmp space.

/tmp 100% full, may impact your other operation, please plan to add more /tmp space.


WK

Problem never ends, you must know how to fix it
Trng
Super Advisor

Re: open file?

Dear Prashant,

only the DBA guy can help you in this regard,becaz the user "oazctes1" is executing some programmes and you can see it is keep on increasing .Before Adding space to tmp (not good always to add space),pls discuus with DBA ,and confirm what is causing this filesystem to full.


rgds
administrator