Solved

File locking paramter

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses

737 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