Solved

File locking paramter

Posted on 2002-06-26
2
828 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

705 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