[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NetCDF file limit

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: Re: NetCDF file limit
  • Date: Fri, 04 Mar 1994 12:52:17 -0700

> Organization: SSESCO
> Keywords: 199403041859.AA11067

Hi Brian,

> I wanted to ask you if there are any concerns I should have
> if I want to bump the netCDF file limit up...
> the netcdf.h file makes it clear that the MAX_NC_OPEN
> can be as large as the max number of stdio I can have for a
> process...
> Have you experimented with this?  This is for a real-time
> system and I was wondering if there is anything else I should
> consider...

It's OK to make the limit much larger.  However if you permit the maximum
number of netCDF files to be open, any application using the library might
open the maximum number and then be out of slots for opening other kinds of
files, since there is a global limit on the number of file descriptors that
a process may have open.

--Russ