<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[cromwell部署问题记录 &quot;AF_UNIX path too long&quot;]]></title><description><![CDATA[<h1>cromwell 问题记录  bug</h1>
<h2>AF_UNIX path too long</h2>
<p dir="auto">现象描述：当cromwell 配置文件未设置 temporary-directory时，系统默认值为<br />
temporary-directory = "$(mktemp -d "$PWD"/tmp.XXXXXX)"</p>
<p dir="auto">eg:  /cromwell-executions/mngs_version_002/00c48cf7-f7d1-45c2-ac6e-aa5017e4900c/call-ThirdSeqQC_CCSQC</p>
<p dir="auto">问题：在使用到Python mulitprocessing library时会因为目录过长报错<br />
参考： <a href="https://github.com/broadinstitute/cromwell/issues/3647" rel="nofollow ugc">https://github.com/broadinstitute/cromwell/issues/3647</a></p>
<p dir="auto">解决办法：</p>
<p dir="auto">配置文件添加：</p>
<pre><code>    LocalExample {
      actor-factory = "cromwell.backend.impl.sfs.config.ConfigBackendLifecycleActorFactory"
      config {
        temporary-directory = "$(mktemp -d /tmp.XXXXXX)"
      }
    }
</code></pre>
<p dir="auto">注意事项： 当使用到docker时，若指定用户  docker  run --user $(id -u):$(id -g)...</p>
<p dir="auto">则在设置temporary-directory 时需要注意该目录权限需要和指定呀用户一致。</p>
<p dir="auto">方法：</p>
<pre><code>    LocalExample {
      actor-factory = "cromwell.backend.impl.sfs.config.ConfigBackendLifecycleActorFactory"
      config {
        temporary-directory = "$(mktemp -d /cromwell-executions/tmp/tmp.XXXXXX)"
      }
    }
</code></pre>
]]></description><link>http://an.forum.genostack.com/topic/353/cromwell部署问题记录-af_unix-path-too-long</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 11:01:18 GMT</lastBuildDate><atom:link href="http://an.forum.genostack.com/topic/353.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Jul 2021 02:13:14 GMT</pubDate><ttl>60</ttl></channel></rss>