Solved

File locking paramter

Posted on 2002-06-26
2
809 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
netstat -a in AIX unix 8 36
pauing printer deamon in AIX 10 57
linux  centos   virtualization network quetion 6 74
dot directory in FreeBSD??? 4 72
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

919 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now