[GRASS-dev] g.gui.animation freezes when loading strds

Pietro peter.zamb at gmail.com
Thu Aug 10 08:16:21 PDT 2017


Hi Veronica,

On Tue, Aug 8, 2017 at 3:46 PM, Veronica Andreo <veroandreo at gmail.com>
wrote:

I've also experienced the freezing issue (dunno if it the same thing or
> not). Here, the rendering freezes if strds has more than 500 maps. I do not
> even get to the export part. Cancel does not close it, so I have to kill it
> (trunk r71319).
>
Same problem here, when I reach 502 maps raise the following exception:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py",
line 16762, in <lambda>
  File "/home/pietro/.local/grass-7.3.svn/gui/wxpython/animation/frame.py",
line 194, in SetAnimations
  File "/home/pietro/.local/grass-7.3.svn/gui/wxpython/animation/controller.py",
line 305, in SetAnimations
  File "/home/pietro/.local/grass-7.3.svn/gui/wxpython/animation/controller.py",
line 328, in _setAnimations
  File "/home/pietro/.local/grass-7.3.svn/gui/wxpython/animation/controller.py",
line 407, in _updateBitmapData
  File "/home/pietro/.local/grass-7.3.svn/gui/wxpython/animation/provider.py",
line 234, in Load
  File "/home/pietro/.local/grass-7.3.svn/gui/wxpython/animation/provider.py",
line 366, in Render
  File "/usr/lib64/python2.7/multiprocessing/__init__.py", line 218, in Queue
  File "/usr/lib64/python2.7/multiprocessing/queues.py", line 63, in __init__
  File "/usr/lib64/python2.7/multiprocessing/synchronize.py", line
147, in __init__
  File "/usr/lib64/python2.7/multiprocessing/synchronize.py", line 75,
in __init__
OSError: [Errno 24] Too many open files

But checking the number of opened file on my system, it seems two order
lower than the maximum:

$ cat /proc/sys/fs/file-nr23422   0       1628292
$ cat /proc/sys/fs/file-max 1628292

I’ve attached also the complete log of the command in DEBUG mode, but I was
not able to understand where the problem could be. I’ve also rebooted just
to be sure that the system was fresh, but again after 502 maps it breaks
with the same error.

Any ideas?

Pietro
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20170810/c1ed55d8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log_gui_animation.7z
Type: application/x-7z-compressed
Size: 2413 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20170810/c1ed55d8/attachment-0001.7z>


More information about the grass-dev mailing list