Solved

File locking paramter

Posted on 2002-06-26
2
816 Views
Last Modified: 2013-12-05
Hi, Can someone please advise me what the max setting of SCO Unixware kernel paramter FLCKREC is.

The doccumentation I have states that FLCKREC should ideally be 40 x No users on system but that it's maximum setting is 2000.  That only allows for 50 users.

I have a customer is getting continous record/file locks and I want to eliminate this parameter but they have 64 users (possible 50+ concurrent) which woould exceed the maximum value of 2000 but be below the recommended setting of 40x64=2560

If I may expand, this relates to a locking problem that did not appear whilst working on SCO Openserver, it is only since migration to Unixware this has occurred, so we are looking at system paramters to establish cause.  FLCKREC was set to 2000 on old server and all worked fine.

Just for reference other settings which appear fine are

SHMMAX  524288     524288     131072     2147483647
SHMMIN     1     1     1     1
SHMMNI     100     100     10     1000
SHMSEG     6     6     6     15
SEMMNI     150     150     10     10000
SEMMSL     150     150     25     300
SEMMNS     60     60     60     2500
SEMOPM     10     10     10     20
SEMVMX     32767     32767     32767     32767
FLCKREC     2000     300     100     2000

Thanks
K
0
Comment
Question by:Kyliem
2 Comments
 

Accepted Solution

by:
jgarwood earned 100 total points
ID: 7231469
You can increase FLCKREC over 2000 by increasing the maximum value it can have. Caldera don't recommend this but in theory, for FLCKREC you would need to edit /etc/conf/mtune.d/fs and on the FLCKREC line change 2000 to the new maximum limit.

You then need to edit /etc/conf/cf.d/mtune and change 2000 to the same new maximum limit as above.

You can then use idtune to increase FLCKREC and idbuild to make a new kernel or use the X system tuner.

I hope this helps.
0
 

Author Comment

by:Kyliem
ID: 7231741
Hi, forgot I'd posted this question but thanks for your response.  I did eventually found a tech article on the caldera website (http://stage.caldera.com/cgi-bin/ssl_reference?111702) that explained exactly your solution.  So although I had the info you weren't to know and as such are well worthy of the points.

many thanks
K.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question