LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-27-2002, 09:45 AM   #1
infusino
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Rep: Reputation: 0
number of process or users that can access the same file


need help...

does any know how many processes can open RW the same file whether it be a linux file under NFS mount or a novell server file under NCPFS.

thanks ,,,
 
Old 11-27-2002, 07:54 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
1
 
Old 11-28-2002, 09:42 AM   #3
infusino
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Original Poster
Rep: Reputation: 0
how about in readonly
 
Old 11-28-2002, 09:55 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
actually I think it would depend on file locking, If it's not locked then they would be able to open it., but I think that's why they have file locking.
 
Old 11-28-2002, 10:05 AM   #5
infusino
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Original Poster
Rep: Reputation: 0
So there isn't any limit to the number of processes or users that can open a file "only in readonly" whether it was mounted on NFS or NCPFS?
 
Old 11-28-2002, 10:43 AM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Not really sure if there is a limit. I would think everything has some kind of limit though.

there is the nolock option if you want them to open it as read write though
 
Old 11-28-2002, 10:50 AM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
this is sort of interesting, Not sure what you intention is but you might want to read this


Quota WARNINGS

PLEASE, PLEASE ATTEND TO WARNING MESSAGES!
You risk losing data if you exceed your quota. Output to a home directory which is over quota will be truncated. Files moved to such a directory will also be truncated. Just opening a file for editing while you are over quota can cause the loss of the entire file's contents. Unfortunately, these are results of the Unix implementation of quota and can be prevented only by user attention to quota warnings.

Avoid having batch jobs attempt to write to home directory space that has exceeded disk space quota:

* You will get truncated or zero length files and waste the run whose output is lost as a result.
* You will lose further data if your home directory remains filled after the job finishes, if you attempt to copy, write or edit files.
* MULTIPLE ATTEMPTS TO WRITE TO A DIRECTORY THAT IS OVER QUOTA WILL CREATE A SIGNIFICANT BURDEN ON THE NFS SERVER, CAUSING INTERACTIVE DELAY AND PERFORMANCE PROBLEMS. In some cases, jobs create hundreds of thousands of write attempts, quota checks, and refusals to write within a few minutes.

Avoid having batch jobs write to filled home directories:

* Write job output to file systems that are better suited for this use and that have no quota limit:
o /usr/tmp local temp space on each node.
o /nfs/tmp* shared NFS temp space on all OCF hosts.
o GPFS file systems on all IBM (parallel) systems.
* Check your quota usage and limits with "quota" or "quota -v".
* Watch your login messages for a warning when your usage exceeds 90 percent of the quota allowance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to increase number of threads per process? Vaish Linux - Distributions 8 02-25-2010 01:21 AM
Public users need file access via Apache dufferin Linux - Networking 1 02-22-2004 01:01 AM
need multiple users to have read/write access to a Quickbooks file at the same time. rbelknap Linux - Security 2 10-14-2003 10:52 PM
Limiting access to binary to x number of users? greenhornet Linux - General 2 07-31-2003 10:48 AM
Are 2 users able to access the same file ForumKid Linux - General 5 09-20-2002 03:32 AM

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

All times are GMT -5. The time now is 06:27 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