X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/623ffe7320d0a159ba9a5912fc1948cac12ad505..1c36c7a9d4cb3829e57aab9ac84a6b85ec35459c:/lib/crunchrun/crunchrun.go?ds=sidebyside diff --git a/lib/crunchrun/crunchrun.go b/lib/crunchrun/crunchrun.go index 8f3a302039..33558b5d9b 100644 --- a/lib/crunchrun/crunchrun.go +++ b/lib/crunchrun/crunchrun.go @@ -617,10 +617,15 @@ func (runner *ContainerRunner) SetupMounts() (map[string]bindmount, error) { } if pdhOnly { - arvMountCmd = append(arvMountCmd, "--mount-by-pdh", "by_id") + // If we are only mounting collections by pdh, make + // sure we don't subscribe to websocket events to + // avoid putting undesired load on the API server + arvMountCmd = append(arvMountCmd, "--mount-by-pdh", "by_id", "--disable-event-listening") } else { arvMountCmd = append(arvMountCmd, "--mount-by-id", "by_id") } + // the by_uuid mount point is used by singularity when writing + // out docker images converted to SIF arvMountCmd = append(arvMountCmd, "--mount-by-id", "by_uuid") arvMountCmd = append(arvMountCmd, runner.ArvMountPoint)