LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-26-2010, 01:22 AM   #1
coolrb
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Rep: Reputation: 0
Unhappy Linux takes time to release file handles


Hello,
The app in linux server(CentOS 5.3) uses files from a mount directory(Shared windows directory in read only mode). At the same time, the same file might be edited by user in windows env. We were assuming that as the windows folders are mounted in read-only mode in linux so any change done by user in windows environment would be fail safe i.e. can be safely committed to the file. But when the file concurrently used both by Linux and as well by windows, at some point linux does not release the file handles and the files get corrupted(deleted too). Earlier we were using win2k server and this step was hardly reproducible and win2k was releasing file handles quickly. But with centos, we really had touch time managing files. ANy suggestion/input would be highly appreciated.

regards,
 
Old 08-26-2010, 01:56 AM   #2
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748

Rep: Reputation: 31
Sounds like you'll need some form of LDAP on top of your standard filesystem. Same thing as MS Windows has, although Linux's options are free (MS's is added onto the version price tag), and sometimes overlooked when Linux is installed. Another option (although a pain in the neck), is to have a database manage the directories, but I'd personally opt for an LDAP of one flavor or another.

http://www.openldap.org/doc/admin24/

Alternatively, your distribution probably has a somewhat easier package that preconfigures a lot of the items mentioned in the link above.

Last edited by scott_R; 08-26-2010 at 02:00 AM.
 
Old 09-06-2010, 01:16 AM   #3
coolrb
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Sounds like you'll need some form of LDAP on top of your standard filesystem
The system is already configured with LDAP(external ldap system). The app in linux uses files from windows shared directories( using mount command). I am not sure how you would like me to use LDAP in such circumstance.
The worst thing is that the file gets deleted when used concurrently i.e. the app in Linux uses it at the same time windows also uses it. As I am not an expert in Linux so any configuration, you like me to look at.
 
  


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
Why it takes a long time to delete a file? slackmate Slackware 7 03-06-2010 07:41 PM
Benchmarking a tape drive, time to copy takes forever, time to append takes longer? jeriryan Linux - Hardware 2 06-15-2008 12:15 AM
kernel file handles vs userspace file handles. jiml8 Programming 7 05-13-2008 06:32 PM
linux booting takes long time nesta Linux - Laptop and Netbook 1 12-07-2007 06:31 PM
linux takes too much of my time goosehunter General 39 05-08-2005 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:18 PM.

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