file number limits in Solaris 8


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers file number limits in Solaris 8
# 1  
Old 08-13-2003
file number limits in Solaris 8

What is the kernel parameter ( or other) that sets the maximum number of open files by the o/s
# 2  
Old 08-14-2003
That is not an easy question. Solaris allocates file structures on the fly. There is no system-wide array of file structures. How much memory you have and what else is in memory is probably the first limiting factor you would hit.
# 3  
Old 08-14-2003
........

i don't know what you mean with "open files"..... do you mean processes? so take a look at your value:
sysdef | grep processes

the kernel variable is
max_nprocs
default: 10+(16*maxusers)

!!!
but you should not play with your solaris kernel, if you don't really know what you do.... the most values are build by mathematical formulas and depends on each other.....
!!!

greetings Preßy
# 4  
Old 08-14-2003
Preßy, an open file is, well, a file that is open. Most of them result from the successful execution of an open() system call. A process, on the other hand, is normally created by the successful execution of a fork() system call. You don't want to get the two mixed up.

blp001, now I have access to my copy of SOLARIS Internals Core Kernel Architecture by Mauro & McDougall. On page 476, I read
Quote:
Solaris allocates file structures for opened files as needed, growing the open file count dynamically to meet the requirements of the system load. Therefore, the maximum number of files that can be opened systemwide at any time is limited by available kernel address space, and nothing more.
So it's virtual rather than physical memory.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

selection particular number of line from a bunch by user defined limits.

hello i am having a file having a matrix as the following 4.1 5.5 6.55 7.2 8.2 1.002 i am having around 1 lakh rows, now i need a program in which i show give min x and min y and min z values and as well as max x max y max z, the values between these minimun and maximum values should be... (1 Reply)
Discussion started by: charan pattabhi
1 Replies

2. UNIX for Dummies Questions & Answers

Soft and hard limits for nproc value in /etc/security/limits.conf file (Linux )

OS version : RHEL 6.5 Below is an excerpt from /etc/security/limits.conf file for OS User named appusr in our server appusr soft nproc 2047 appusr hard nproc 16384 What will happen if appusr has already spawned 2047 processes and wants to spawn 2048th process ? I just want to know... (3 Replies)
Discussion started by: kraljic
3 Replies

3. HP-UX

HP-UX 10.20 file size limits?

Hi, I'm running HP-UX 10.20. Is there a 2GB file size limit? if so, can i change it? (3 Replies)
Discussion started by: gabriel.560
3 Replies

4. UNIX Desktop Questions & Answers

File size limits

I want to increase the file size, I am trying to store the output but it's not storing the whole output in to the file (7 Replies)
Discussion started by: navintsm
7 Replies

5. Solaris

Find N number of days old file on solaris

Hi, bash-3.00$ ls -ltr total 8471258 -rw-r--r-- 1 mysql mysql 1227 Jul 7 22:33 information_schema.sql -rw-r--r-- 1 mysql mysql 479762 Jul 7 22:49 mysql.sql -rw-r--r-- 1 mysql mysql 1974789 Jul 7 22:50 youconnect.sql -rw-r--r-- 1 mysql mysql 1355... (3 Replies)
Discussion started by: prakash.gr
3 Replies

6. Shell Programming and Scripting

Limits of FOR loop to go to end of File

Hi ALL:), I have a file for e.g. ajdflkj|dkj|djfj|go|123|4||||||||||||||89|101||||||||||||||| The length of file is not fixed. So wat the limits should be given in for loop to access till end of file???? Thanks in advance..... (2 Replies)
Discussion started by: rohiiit.sharma
2 Replies

7. UNIX for Dummies Questions & Answers

ulimit and /etc/security/limits file permission

Hi there, I am working on AIX and i dont have permission for /etc/security/limits file. In the man page of ulimit it is mentioned that it will get the limitations for me from /etc/security/limits file. the file permission for ulimit command is -r-xr-xr-x 15 bin bin ... (6 Replies)
Discussion started by: quintet
6 Replies

8. Solaris

Solaris counterpart of /etc/security/limits.conf

Hi, How can we set per user core file size, etc in solaris, i.e. I want solaris counterpart/equivalent of linux /etc/security/limits.conf. TIA (0 Replies)
Discussion started by: slash_blog
0 Replies

9. UNIX for Advanced & Expert Users

nawk - file limits

Hi, I want to search particular pattern and splitting the file in to multiple files. (Splitted files may be more than 150). It got splitted upto 20 files after that, I got some error. nawk: filename.21 makes too many open files. input record number 654, file xxxxxxx Can u guide me to... (1 Reply)
Discussion started by: sharif
1 Replies

10. UNIX for Dummies Questions & Answers

File Limits on Solaris 2.6

%ulimit -a nofiles(descriptors) 1024 This means that I can open up to 1024 file per process? But wonder if there is any hardlimit imposed by Solaris 2.6 (eg 255) ? By the way, is there any tool that can trace which files (or sockets) are opened by a process? Thanks DY (5 Replies)
Discussion started by: deaniyoer
5 Replies
Login or Register to Ask a Question