<div dir="ltr"><div><div><br><br>On Thu, Aug 10, 2017 at 8:15 PM, Anna Petrášová <<a href="mailto:kratochanna@gmail.com">kratochanna@gmail.com</a>> wrote:<br>><br>> On Thu, Aug 10, 2017 at 11:16 AM, Pietro <<a href="mailto:peter.zamb@gmail.com">peter.zamb@gmail.com</a>> wrote:<br>> > Hi Veronica,<br>> ><br>> > On Tue, Aug 8, 2017 at 3:46 PM, Veronica Andreo <<a href="mailto:veroandreo@gmail.com">veroandreo@gmail.com</a>><br>> > wrote:<br>> >><br>> >> I've also experienced the freezing issue (dunno if it the same thing or<br>> >> not). Here, the rendering freezes if strds has more than 500 maps. I do not<br>> >> even get to the export part. Cancel does not close it, so I have to kill it<br>> >> (trunk r71319).<br>> ><br>> > Same problem here, when I reach 502 maps raise the following exception:<br>> ><br>> > Traceback (most recent call last):<br>> >   File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line<br>> > 16762, in <lambda><br>> >   File "/home/pietro/.local/grass-7.3.svn/gui/wxpython/animation/frame.py",<br>> > line 194, in SetAnimations<br>> >   File<br>> > "/home/pietro/.local/grass-7.3.svn/gui/wxpython/animation/controller.py",<br>> > line 305, in SetAnimations<br>> >   File<br>> > "/home/pietro/.local/grass-7.3.svn/gui/wxpython/animation/controller.py",<br>> > line 328, in _setAnimations<br>> >   File<br>> > "/home/pietro/.local/grass-7.3.svn/gui/wxpython/animation/controller.py",<br>> > line 407, in _updateBitmapData<br>> >   File<br>> > "/home/pietro/.local/grass-7.3.svn/gui/wxpython/animation/provider.py", line<br>> > 234, in Load<br>> >   File<br>> > "/home/pietro/.local/grass-7.3.svn/gui/wxpython/animation/provider.py", line<br>> > 366, in Render<br>> >   File "/usr/lib64/python2.7/multiprocessing/__init__.py", line 218, in<br>> > Queue<br>> >   File "/usr/lib64/python2.7/multiprocessing/queues.py", line 63, in<br>> > __init__<br>> >   File "/usr/lib64/python2.7/multiprocessing/synchronize.py", line 147, in<br>> > __init__<br>> >   File "/usr/lib64/python2.7/multiprocessing/synchronize.py", line 75, in<br>> > __init__<br>> > OSError: [Errno 24] Too many open files<br>> ><br>> > But checking the number of opened file on my system, it seems two order<br>> > lower than the maximum:<br>> ><br>> > $ cat /proc/sys/fs/file-nr<br>> > 23422   0       1628292<br>> > $ cat /proc/sys/fs/file-max<br><br></div>the OS limit of the number of open files is given in<br>/proc/sys/fs/file-max<br></div>but that is irrelevant, what matters is the maximum allowed number of open files for the current user<br><div><div><br>> > 1628292<br>> ><br>> > I’ve attached also the complete log of the command in DEBUG mode, but I was<br>> > not able to understand where the problem could be. I’ve also rebooted just<br>> > to be sure that the system was fresh, but again after 502 maps it breaks<br>> > with the same error.<br>><br>> I just tested 1100 maps without problem. In case this is relevant:<br>><br>> ulimit -n<br>> 1024<br><br></div><div>ulimit -n reports the maximum allowed number of open files for the current user, this is the relevant limit<br><br></div><div>A solution to the error "Too many open files" would be to open the files/maps one at a time and closing them again, similar to the -z flag of r.series.<br><br></div><div>Just an idea,<br><br></div><div>Markus M<br></div><div><br>><br>> ><br>> > Any ideas?<br>> ><br>> > Pietro<br>> ><br>> ><br>> > _______________________________________________<br>> > grass-dev mailing list<br>> > <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>> > <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev">https://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>> _______________________________________________<br>> grass-dev mailing list<br>> <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev">https://lists.osgeo.org/mailman/listinfo/grass-dev</a><br><br></div></div></div>