Could not create process execution directories Caused by: directory is not readable.

Document created by pete_mccoy1.3055586893899446E12 Employee on Jul 24, 2012
Version 1Show Document
  • View in full screen mode
Processes running on a local atom, molecule or cloud generate the following error:

"Could not create process execution directories; Caused by: directory is not readable."

The stack trace may look something like:

May 13, 2014 10:57:46 AM EDT SEVERE [com.boomi.process.ProcessExecution handleProcessFailure] Unexpected error executing process: com.boomi.execution.ExecutionException: Could not create process execution directories
com.boomi.execution.ExecutionException: Could not create process execution directories
at com.boomi.execution.ExecutionManager.createExecution(ExecutionManager.java:319)
at com.boomi.execution.ExecutionManager.createNestedExecution(ExecutionManager.java:297)
at com.boomi.process.shape.ProcessCallShape.executeSubProcess(ProcessCallShape.java:334)
at com.boomi.process.shape.ProcessCallShape.executePassthroughSubProcess(ProcessCallShape.java:307)
at com.boomi.process.shape.ProcessCallShape.execute(ProcessCallShape.java:156)
at com.boomi.process.graph.ProcessShape.executeShape(ProcessShape.java:518)
at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:482)
at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:566)
at com.boomi.process.graph.ProcessGraph.execute(ProcessGraph.java:306)
at com.boomi.process.ProcessExecution.call(ProcessExecution.java:772)
at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:886)
at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:60)
at com.boomi.util.concurrent.CancellableFutureTask.run(CancellableFutureTask.java:163)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: directory \\mymachine\molecule\execution\history\2014.05.13\execution-XXXXXXXX-2014.05.13 is not readable
at com.boomi.util.FileUtil.ensureDir(FileUtil.java:672)
at com.boomi.execution.ExecutionManager.createTaskDirectories(ExecutionManager.java:693)
at com.boomi.execution.ExecutionManager.createExecution(ExecutionManager.java:317)
... 15 more
Verify the folder <Atom Install>/execution/history/<Date>/ to see if the number of subdirectories has reached or will exceed 31,999.  This is the maximum number of subdirectories allowed for an ext3 filesystem. 

A temporary work around is to rename the directory. 

Try changing the process execution directory structure by increasing the default execution directory nest level per the guidance at these links:
 
http://help.boomi.com/atomsphere/GUID-357D9D7D-F007-43A1-8CD4-27570EE17D99.html

http://help.boomi.com/atomsphere/GUID-A1525E9B-9046-4CE3-B744-12528E0ABA0E.html
 
Restart the atom, molecule or cloud after making the changes at the above link.

If issues persist after making the above changes, a longer term solution (problem-solving techniques) would be to:
  •           review your processes to see if they are creating an excessive number of execution history subdirectories
  •           distribute your processes across multiple atoms
  •           review your process schedules to see if they can be modified to run less frequently
  •           upgrading your file system to a version that does not have the 32K subdirectory limit

Attachments

    Outcomes