[GRASS-dev] r.series with file option - too many files open

Glynn Clements glynn at gclements.plus.com
Fri Jan 19 05:24:40 PST 2018


Markus Metz wrote:

> Use the -z flag to analyze large amount of raster maps without hitting open
> files limit

Or alternatively, see if you can increase the limit.

"ulimit -n" displays the soft limit, "ulimit -Hn" displays the hard
limit. If they aren't the same, you can use "ulimit -n <num>" to
increase the soft limit up to the hard limit (on my system, the soft
limit is 1024, the hard limit is 4096).


If you're at the hard limit, you can ask your sysadmin to increase it,
typically via /etc/security/limits.conf.

Increasing the limit won't have the performance cost of -z.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list