LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-13-2009, 11:50 AM   #1
patcheezy
LQ Newbie
 
Registered: May 2009
Posts: 7

Rep: Reputation: 0
how to close open file without killing process


when I run lsof there are open files that I want to close without killing the proccess. Is there anyway to close the open file without killing the process it is attached to? Thanks in advance.
 
Old 05-13-2009, 12:07 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Not really - unless there's some means of telling the
process to let go of those files.

What's the objective of that exercise, anyway?



Cheers,
Tink
 
Old 05-13-2009, 12:31 PM   #3
patcheezy
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
we have an oracle update process that creates arc files in directory thats 8gb. The directory get full before the process completes so we move the arc files to an nfs mount point to create space; however, some not all of the arc files that we move show up as open files. This makes directory appear to be full even though we have moved the arc file and we are not able to continue the oracle update process until there is space available. whats weird is if we do df -h is says full if we do du -sh it says we have space. When we kill the process it release the open files and gives the space. Any ideas? Thanks

Last edited by patcheezy; 05-13-2009 at 12:32 PM.
 
Old 05-13-2009, 03:00 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Directly dump to the NFS mounted directory?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
close terminal mean close background process? Niceman2005 Linux - General 7 05-27-2010 02:58 PM
Killing a background process arun_nishad Linux - Newbie 1 07-30-2008 05:25 AM
LXer: When open source projects close the process, something's wrong LXer Syndicated Linux News 0 11-03-2007 05:50 PM
Killing a process by its name rabeea Linux - Networking 3 03-17-2005 05:30 AM
Really Killing a Process! lazlow69 Linux - Newbie 14 05-10-2003 10:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration