Update default bsub arguments to save stdout/stderr in /tmp.
authorTom Clegg <tom@curii.com>
Tue, 31 Aug 2021 20:43:17 +0000 (16:43 -0400)
committerTom Clegg <tom@curii.com>
Tue, 31 Aug 2021 20:43:17 +0000 (16:43 -0400)
refs #17857

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

doc/install/crunch2-lsf/install-dispatch.html.textile.liquid
lib/config/config.default.yml
lib/config/generated_config.go

index 66b562d131071fc8525e3f0075c15a218780f951..301fd7306ac82bbec8cc90978d831097f5937e7a 100644 (file)
@@ -62,10 +62,12 @@ When arvados-dispatch-lsf invokes @bsub@, you can add arguments to the command b
 <notextile>
 <pre>    Containers:
       LSF:
-        <code class="userinput">BsubArgumentsList: <b>["-C", "0"]</b></code>
+        <code class="userinput">BsubArgumentsList: <b>["-C", "0", "-o", "/tmp/crunch-run.%J.out", "-e", "/tmp/crunch-run.%J.err"]</b></code>
 </pre>
 </notextile>
 
+Note that the default value for @BsubArgumentsList@ uses the @-o@ and @-e@ arguments to write stdout/stderr data to files in @/tmp@ on the compute nodes, which is helpful for troubleshooting installation/configuration problems. Ensure you have something in place to delete old files from @/tmp@, or adjust these arguments accordingly.
+
 
 h3(#PollPeriod). Containers.PollInterval
 
index ec32613905f8ad9b40bde6820199413f5d30fe0d..ff48d48f411e025a9dcefd30dea47219699441fa 100644 (file)
@@ -1026,7 +1026,12 @@ Clusters:
       LSF:
         # Additional arguments to bsub when submitting Arvados
         # containers as LSF jobs.
-        BsubArgumentsList: []
+        #
+        # Note that the default arguments cause LSF to write two files
+        # in /tmp on the compute node each time an Arvados container
+        # runs. Ensure you have something in place to delete old files
+        # from /tmp, or adjust these arguments accordingly.
+        BsubArgumentsList: ["-o", "/tmp/crunch-run.%J.out", "-e", "/tmp/crunch-run.%J.err"]
 
         # Use sudo to switch to this user account when submitting LSF
         # jobs.
index 36a21d4c357165628aa321ef8d97b67c1ea894bd..097396a0ae6095c48622210e2d89262ec20f0e39 100644 (file)
@@ -1032,7 +1032,12 @@ Clusters:
       LSF:
         # Additional arguments to bsub when submitting Arvados
         # containers as LSF jobs.
-        BsubArgumentsList: []
+        #
+        # Note that the default arguments cause LSF to write two files
+        # in /tmp on the compute node each time an Arvados container
+        # runs. Ensure you have something in place to delete old files
+        # from /tmp, or adjust these arguments accordingly.
+        BsubArgumentsList: ["-o", "/tmp/crunch-run.%J.out", "-e", "/tmp/crunch-run.%J.err"]
 
         # Use sudo to switch to this user account when submitting LSF
         # jobs.