This is what the TCL script is doing:
server.database.backup :url file:///$dir/database
server.database.lock :action abort \
:msg "The Mediaflux database and stores are being backed up"
exec /opt/mflux/bin/tar_gz_wrapper $dir pssd
exec /opt/mflux/bin/tar_gz_wrapper $dir dicom
server.database.unlock
There is no other output to tell me which step in the script is hitting the timeout. But based on what Jason said, I'm guessing that it is the final "unlock" ... and that the "exec" steps don't count as activity for the purposes of keeping the session alive.
Here is the exception:
arc.shell.Shell$ExScriptExecute: executing script: /opt/mflux/config/backup.tcl
[line: 6]: arc.mf.client.ServerClient$ExSessionInvalid: Session is invalid or ti
med out.
at arc.fd.b(SourceFile:1850)
at arc.fd.a(SourceFile:1786)
at arc.dW.a(SourceFile:69)
at arc.dV.a(SourceFile:59)
at arc.shell.Shell$TclCmdHandler.a(SourceFile:1158)
at arc.FU.a(SourceFile:865)
at arc.FU.a(SourceFile:1278)
at arc.FE.b(SourceFile:2247)
at arc.FE.c(SourceFile:2301)
at arc.shell.Shell.a(SourceFile:499)
at arc.shell.Shell.a(SourceFile:481)
at arc.hR.a(SourceFile:148)
at arc.hR.a(SourceFile:98)
at arc.mf.command.Execute.a(SourceFile:606)
at arc.mf.command.Execute.a(SourceFile:68)
at arc.mf.command.Execute.main(SourceFile:62)
at arc.shell.Shell.a(SourceFile:534)
at arc.shell.Shell.a(SourceFile:481)
at arc.hR.a(SourceFile:148)
at arc.hR.a(SourceFile:98)
at arc.mf.command.Execute.a(SourceFile:606)
at arc.mf.command.Execute.a(SourceFile:68)
at arc.mf.command.Execute.main(SourceFile:62)