[GRASS-dev] [GRASS GIS] #3309: Avoid errors in parallel creation of tempfiles

GRASS GIS trac at osgeo.org
Mon Mar 6 23:23:05 PST 2017


#3309: Avoid errors in parallel creation of tempfiles
--------------------------+---------------------------------
 Reporter:  sbl           |      Owner:  grass-dev@…
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  7.2.1
Component:  LibGIS        |    Version:  svn-releasebranch72
 Keywords:  G_tempfile()  |        CPU:  Unspecified
 Platform:  Unspecified   |
--------------------------+---------------------------------
 When tempfiles are created in parallel, conflicts and thus fatal errors
 can arise when two processes try to create the .tmp/HOST dir at the same
 time:
 https://lists.osgeo.org/pipermail/grass-dev/2017-March/084471.html

 The conflict seems to arise only from the directory.

 So, maybe it could help if the directory is created at the start of a
 GRASS session and removed only when the GRASS session is closed (exit)?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3309>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list