[GRASS-dev] rast_open_new() saturates after opening 127 temporary files

Yann Chemin ychemin at gmail.com
Tue May 28 19:34:51 PDT 2013


Hi,

Linux: Ubuntu 13.04
ulimit: open files                      (-n) 1024


from : http://www.itworld.com/operating-systems/317369/setting-limits-ulimit

-n     The maximum number of open file descriptors (most systems
       do not allow this value to be set)

indeed:
ulimit -n unlimited
bash: ulimit: open files: cannot modify limit: Operation not permitted

Yann

On 29 May 2013 01:34, Glynn Clements <glynn at gclements.plus.com> wrote:
>
> Yann Chemin wrote:
>
>> Opening 127 temporary raster files is the limit of GRASS,
>>
>> How can I get above that limit?
>
> You need to provide more information: version, OS, any error or debug
> messages generated.
>
> I don't have this problem with 7.0 on Linux.
>
> But first, check that it isn't an OS issue. "ulimit -n" reports the
> maximum number of open files (in 7.0, you need two per map). Also,
> each completed raster needs a subdirectory within the cell_misc
> directory, and some filesystems impose a limit on the number of
> subdirectories (often much lower than the limit on the number of
> files).
>
> --
> Glynn Clements <glynn at gclements.plus.com>



-- 
----


More information about the grass-dev mailing list