Solved

File locking paramter

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 127
dot directory in FreeBSD??? 4 59
Write an app 10 61
problem creating new luks volume on new VM disk 5 49
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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.

706 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

11 Experts available now in Live!

Get 1:1 Help Now