sco unix backward compatibility on "max open file per process"


 
Thread Tools Search this Thread
Operating Systems SCO sco unix backward compatibility on "max open file per process"
# 1  
Old 05-10-2011
Data sco unix backward compatibility on "max open file per process"

Hi

How to increase maximum number of open file in "sco xenix binary" running in "sco unix openserver 5.0.7" ?
I have changed "NOFILES" kernel parameter to 512, but xenix binray can't open more than 60.

tnx
# 2  
Old 05-10-2011
I didn't see anything within the 5.0.7 documentation. Does your program run on earlier releases, and if so which ones?
Also, what is the contents of /etc/conf/cf.d/stune and mtune?
# 3  
Old 05-10-2011
sco openserver 5.0.7

mtune file :
--------------------------------------------------------------------------------------------------

*ident "@(#) mtune 104.2 02/02/04 "
*
* Copyright (C) 1988-2000 The Santa Cruz Operation, Inc.
* All Rights Reserved.
* The information in this file is provided for the exclusive use of
* the licensees of The Santa Cruz Operation, Inc. Such users have the
* right to use, modify, and incorporate this code into other products
* for purposes authorized by the license agreement provided they include
* this notice and the associated copyright notice with any such product.
* The information in this file is provided "AS IS" without warranty.
*
* Copyright (c) 1984, 1986, 1987, 1988 AT&T
* All Rights Reserved
*
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
* The copyright notice above does not evidence any
* actual or intended publication of such source code.
*
* Copyright (c) 1987, 1988 Microsoft Corporation
* All Rights Reserved
*
* This Module contains Proprietary Information of Microsoft
* Corporation and should be treated as Confidential.
*
* General Kernel Parameters
KDBSYMSIZE 300000 50000 500000
NBUF 0 24 450000
NHBUF 0 32 524288
NMPBUF 0 12 512
MAX_INODE 0 100 64000
MAX_FILE 0 100 64000
MAX_MOUNT 0 4 4096
CTBUFSIZE 128 0 256
MAX_PROC 0 50 16000
MAX_REGION 0 500 160000
NCLIST 170 120 16640
MAXUP 100 15 16000
NOFILES 110 60 11000
NHINODE 128 64 8192
NAUTOUP 10 0 60
NGROUPS 8 0 128
BDFLUSHR 30 1 300
MAX_FLCKREC 0 50 16000
PUTBUFSZ 8000 2000 20000
MAXSLICE 100 25 100
ULIMIT 4194303 2048 4194303
SPTMAP 200 100 500
DO387CR3 0 0 1
DOWPCR0 1 0 1
NODE "scosysv" 0 8
CMASK 0 0 0777
NSHINTR 8 2 20
* Device Driver Parameters
NUMXT 3 1 32
NUMSXT 6 1 32
NCPYRIGHT 10 10 10
NKDVTTY 8 8 8
PRFMAX 8192 2048 16384
MAX_CFGSIZE 8000 256 40000
VGA_PLASMA 0 0 1
NAHACCB 36 4 255
SDSKOUT 4 1 256
TTHOG 256 256 8192
MODE_SELECT 1 0 1
* Paging Parameters
GPGSLO 25 0 100000
GPGSHI 40 1 100000
MAXSC 8 1 8
MAXFC 8 1 8
MAXUMEM 524287 2560 1048576
MINARMEM 25 25 40
MINASMEM 25 25 40
* Streams Parameters
NSTREAM 64 1 32768
NSTRPUSH 9 9 9
NMUXLINK 192 1 4096
STRMSGSZ 16384 4096 524288
STRCTLSZ 1024 1024 1024
STRMAXBLK 524288 4096 524288
NSTRPAGES 500 0 8000
STRSPLITFRAC 80 50 100
NLOG 3 3 3
NUMSP 64 1 320
NUMTIM 16 1 8192
NUMTRW 16 1 8192
* Message Parameters
MSGMAP 512 4 32768
MSGMAX 8192 128 32767
MSGMNB 8192 128 65532
MSGMNI 50 1 1024
MSGSSZ 8 4 4096
MSGTQL 1024 32 16383
MSGSEG 1024 32 32768
* Semaphore Parameters
SEMMAP 10 10 8192
SEMMNI 10 10 8192
SEMMNS 60 60 8192
SEMMNU 30 10 8192
SEMMSL 25 25 150
SEMOPM 10 10 1024
SEMUME 10 10 25
SEMVMX 32767 32767 32767
SEMAEM 16384 16384 16384
* Shared Memory Parameters
SHMMAX 524288 131072 2147483647
SHMMIN 1 1 1
SHMMNI 100 100 2000
* Fast File System Parameters
BFREEMIN 0 0 100
PLOWBUFS 1024 1 10000
* Filesystem Name Cache Parameters
CACHEENTS 800 1 4096
HASHQS 267 1 8191
* Filesystem Versioning Defaults
MAXVDEPTH 0 0 65535
MINVTIME 0 0 32767
* Filesystem Root Mounting Options
ROOTCHKPT 1 0 1
ROOTLOG 1 0 1
ROOTSYNC 0 0 2
ROOTNOCOMP 0 0 1
ROOTMAXVDEPTH 0 0 65535
ROOTMINVTIME 0 0 32767
* DOS File System Parameters
DOSNMOUNT 4 0 25
DOSNINODE 40 0 300
* XENIX Parameters
DSTFLAG 1 0 1
TBLNK 0 0 32767
NSCRN 0 0 12
SCOANSI 1 0 255
SCROLLSZ 50 0 32767
CNBEEPWA 1 0 1
NEMAP 10 10 1024
TIMEZONE 480 0 1440
XSEMMAX 60 20 90
XSDSEGS 25 1 150
XSDSLOTS 3 1 10
SCRNMEM 0 9 128
KBTYPE 0 0 1
MAX_DISK 0 1 1024
EVQUEUES 8 1 256
EVDEVS 16 1 256
EVDEVSPERQ 3 1 16
NSPTTYS 16 1 256
* Extended Event Driver Parameters
EVEXTTABMIN 4 1 256
EVEXTTABMAX 256 1 65536
* DMA Parameter
DMAEXCL 0 0 1
* Security Parameters
SECLUID 0 0 1
SECSTOPIO 1 0 1
SECCLEARID 1 0 1
* Asynchronous IO Parameters
NAIOPROC 5 1 500
NAIOREQ 120 5 4000
NAIOBUF 120 5 4000
NAIOHBUF 25 1 1000
NAIOREQPP 120 30 4000
NAIOLOCKTBL 10 5 500
* Boot Load Extension Parameters
EXTRA_NDEV 10 0 30
EXTRA_NEVENT 0 0 30
EXTRA_NFILSYS 0 0 30
MAX_BDEV 100 1 255
MAX_CDEV 100 1 255
* MultiProcessing Parameters
MAXACPUS 9 1 29
* Dynamic Tables Parameters
TBLMAP 100 50 500
TBLPAGES 0 10 10000
TBLDMAPAGES 100 10 1000
TBLLIMIT 70 10 100
TBLSYSLIMIT 25 10 90
* Virtual Disk Parameters
VDJOBS 200 100 400
VDUNITJOBS 100 50 200
VDHASHMAX 1024 512 8192
VDASYNCPARITY 1 0 1
VDASYNCWRITES 1 0 1
VDASYNCMAX 20 0 64
VDWRITEBACK 0 0 1
VDRPT 3600 0 86400
VDTIMEOUT 10 3 30
VDUNITMAX 100 5 256
* Redundant Parameters, required for backward compatibility
NQUEUE 4096 4 4096
NBLK4096 2048 0 2048
NBLK2048 2048 0 2048
NBLK1024 2048 0 2048
NBLK512 2048 0 2048
NBLK256 2048 0 2048
NBLK128 2048 0 2048
NBLK64 2048 0 2048
NBLK16 2048 0 2048
NBLK4 2048 0 2048
STRLOFRAC 100 0 100
STRMEDFRAC 100 80 100
NS5INODE 300 100 1000
SHLBMAX 8 2 16
SHMSEG 6 6 15
SHMALL 512 256 15360
PIOMAP 50 50 50
PIOMAXSZ 64 4 64
NCALL 30 30 500
NCOPYBUF 50 1 300
NPBUF 20 6 60
NMPHEADBUF 100 0 10000
DMAABLEBUF 16 4 128
MAXBUF 600 0 65536
NINODE 0 100 64000
NFILE 0 100 64000
NMOUNT 0 4 256
NPROC 0 50 16000
NREGION 0 500 160000
FLCKREC 0 50 16000
NDISK 0 1 256
NSTREVENT 256 256 32768
MAXSEPGCNT 1 0 32
* POSIX_CHOWN_RESTRICTED Parameter
CHOWN_RES 0 0 1
* suds parameters
SEM_NSEMS_MAX 100 1 255
* IO Vector Parameter
IOV_MAX 512 16 1024
*
* Begin Add-On Product Parameters
*


stune file :
---------------------------------------------------------------
NODE "coreb2"
NSPTTYS 192
EVQUEUES 200
EVDEVS 208
NUMSP 320
NSTREAM 6144
NHINODE 1024
GPGSLO 2000
GPGSHI 6000
NSTRPAGES 6256
TTHOG 8192
NCLIST 1512
NSTREVENT 8320
NUMTIM 1040
NUMTRW 1040
SECLUID 0
SECSTOPIO 1
SECCLEARID 1
NMUXLINK 320
SHMMAX 20971520
SHMMNI 200
SEMMAP 256
SEMMNI 384
SEMMNS 512
SEMMNU 150
SEMMSL 50
# 4  
Old 05-10-2011
I don't see NOFILES in stune, are you sure you saved the changes and re-linked the kernel.
# 5  
Old 05-12-2011
Yes, I'm sure. but I forget to put this here.
I can increase sco unix file limitation, but it does not effect on running xenix binary.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. Shell Programming and Scripting

Expect: spawn id exp5 not open while executing "expect "$" { send "sudo su -\r" }"

Hi All, i am trying to ssh to a remote machine and execute certain command to remote machine through script. i am able to ssh but after its getting hung at the promt and after pressing ctrl +d i am gettin the out put as expect: spawn id exp5 not open while executing "expect "$" {... (3 Replies)
Discussion started by: Siddharth shivh
3 Replies

3. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

4. UNIX for Advanced & Expert Users

Help with UNIX "File Open" Error

We have a script that runs and picks up some files to later be used in Oracle. Every now and again we get a ERROR 'filename' file is open We know for a fact the files are not open. The files are created early morning and not used until the next morning by the script. If we manually open the file... (7 Replies)
Discussion started by: randybrazil
7 Replies

5. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. SuSE

VMDB Failure" followed by "Unable to open snapshot file"

keep getting an error when I try to revert to a snapshot: "VMDB Failure" followed by "Unable to open snapshot file" Im using vmware server 1.0.4, host OS is windows xp and guest OS is SLES. Is there anything I can do to recover the snapshot or am I in trouble!?!?! (0 Replies)
Discussion started by: s_linux
0 Replies

8. Solaris

A NEW version of "boot: cannot open kernel/sparcv9/unix "

Ok, I found this article: https://www.unix.com/sun-solaris/19665-boot-cannot-open-kernel-sparcv9-unix.html However it doesn't quite describe my situation. I have created a jumpstart DVD that works great, and installs my customized Solaris-10 (Yes 10, not 8 or 9 per previous posts) . It... (6 Replies)
Discussion started by: biea
6 Replies

9. UNIX for Dummies Questions & Answers

SCO UNIX "TCP/IP not licensed error"

I have been running 5.0.02 for more than 10 years in its present configuration. I am running a business software package on it (text based). I am trying to use my windows machines to access it through a program like "reflections" so that I can run my software from different systems but I get... (2 Replies)
Discussion started by: Parkegio
2 Replies
Login or Register to Ask a Question