Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Number of open files
@ 1998-02-05  5:00 Eric Le Donn�
  1998-02-06  5:00 ` roofus
  1998-02-06  5:00 ` Jeffrey Mogul
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Le Donn� @ 1998-02-05  5:00 UTC (permalink / raw)



Does anybody know what is the kernel variable that describe the maximum
number of open files, in Digital Unix  ???

How can this variable be changed ?

Thanks for any answer,

    Eric





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Number of open files
  1998-02-05  5:00 Number of open files Eric Le Donn�
@ 1998-02-06  5:00 ` roofus
  1998-02-06  5:00 ` Jeffrey Mogul
  1 sibling, 0 replies; 3+ messages in thread
From: roofus @ 1998-02-06  5:00 UTC (permalink / raw)



Eric Le Donné wrote:
> 
> Does anybody know what is the kernel variable that describe the maximum
> number of open files, in Digital Unix  ???
> 
> How can this variable be changed ?
> 
> Thanks for any answer,
> 
>     Eric

Hi,
look for the commands sysconfig and sysconfigdb in manuals.
They can change the parameters of the kernelmoduls.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Number of open files
  1998-02-05  5:00 Number of open files Eric Le Donn�
  1998-02-06  5:00 ` roofus
@ 1998-02-06  5:00 ` Jeffrey Mogul
  1 sibling, 0 replies; 3+ messages in thread
From: Jeffrey Mogul @ 1998-02-06  5:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1597 bytes --]


In article <886689843.26064.0.nnrp-01.c246a7b2@news.demon.co.uk>, "Eric Le Donn�" <eledonne@metrica.co.uk> writes:
|> Does anybody know what is the kernel variable that describe the maximum
|> number of open files, in Digital Unix  ???
|> 
|> How can this variable be changed ?

This is documented in the "System Tuning and Performance Management"
manual, in Appendix B (Configuration Attribute Definitions), under
"Process Subsystem Attributes":

  open-max-hard (open_max_hard) 
  open-max-soft (open_max_soft) 
     The number of per-process file descriptors. Use the getdtablesize system
     call to obtain the current limit. The value of open_max_soft is the
     default per-process limit. A process can increase its soft limit up to
     its hard limit using setrlimit. The default hard and soft limits
     must be at least 64, and less than or equal to OPEN_MAX_SYSTEM in
     param.h. 

     Default value: 4096 (for both attributes) 

The limit of 4096 is for V4.0, I believe.  You didn't say which
version of Digital UNIX you are using (it's ALWAYS a good idea to
give a specific version number when asking questions about any
operating system).  Very old versions of Digital UNIX (or OSF/1)
had a lower maximum than 4096, I think.

According to the release notes for V4.0D, page 1-6, in V4.0D
the upper limit has been raised to 65536 descriptors.  However,
the defaults are still set to 4096.  See section E of the
V4.0D release notes for more information about changing these
limits.

Generally, one can change parameters such as this one using
the "sysconfig" utility.

-Jeff



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-02-06  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-05  5:00 Number of open files Eric Le Donn�
1998-02-06  5:00 ` roofus
1998-02-06  5:00 ` Jeffrey Mogul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox