What is the exact FS COPY DIRECTORY request that you are running that hangs?
Does it always hang? Or, does it sometimes work? Does it hang after copying the same number of bytes for the same .zip file in the directory, or do the number of bytes copied vary? Are you sure the FS COPY request is "hung"? That is, have you used a "STAF fromMachine FS LIST COPYREQUESTS LONG" request (substituting the host name of the fromMachine -- the machine where the directory is being copied from), to verify that the number of bytes copied hasn't changed for a while? And, have you used a "STAF toMachine FS LIST COPYREQUESTS LONG" request (substituting the host name of the toMachine -- the machine where the directory is being copied to), to verify that the number of bytes copied hasn't changed for a while? Please provide the results from these STAF FS LIST COPYREQUESTS requests while the FS COPY request is hung. Is it possible you are running out of space on the "to machine"? Is it possible you are experiencing network issues during the copy of the directory (which could be causing the problem)? Try enabling STAF tracing by running the following TRACE service requests on both the "from machine" and the "to machine": STAF local TRACE ENABLE TRACEPOINT "Warning" STAF local TRACE SET DESTINATION TO FILE <Fully-qualified file name of your choice> Then run the STAF FS COPY DIRECTORY request that hangs. When it hangs, check the contents of the trace files on both the "from machine" and the "to machine". Perhaps some warnings will be logged that provide more info. Please provide the trace results. -------------------------------------------------------------- Sharon Lucas IBM Austin, luc...@us.ibm.com (512) 286-7313 or Tieline 363-7313 From: Arve Knudsen <arve.knud...@gmail.com> To: Ahmed Mostafa <eng.ahmed2...@gmail.com>, staf-users@lists.sourceforge.net Date: 11/02/2010 05:04 AM Subject: Re: [staf-users] STAF FS COPY hangs Hi Thanks for the tip; I can see there is currently one directory copy ongoing although I effectively killed it by closing the file STAF was stuck on (via Process Explorer). Closing this file on the server end made the client job fail at least. Is the server job actually still alive even though the client job gave up with an error? That being said, this doesn't help me figuring out why STAF hangs. I have narrowed the case down to a directory with one zip file measuring in at 600 + MB. Trying to copy that directory will hang after so little as ~50 MB has been copied to the remote machine :( I have been able to copy that file by itself though (using "COPY FILE" instead of "COPY DIRECTORY"). Thanks, Arve On Tue, Nov 2, 2010 at 10:52 AM, Ahmed Mostafa <eng.ahmed2...@gmail.com> wrote: Hi, You can use the FS LIST COPYREQUESTS command: staf local FS List CopyRequests Long Directory On 2 November 2010 10:37, Arve Knudsen <arve.knud...@gmail.com> wrote: Hi The copying of a large directory from one machine to another (Red Hat Enterprise Linux 4u6 to Windows Server 2008 SP2) via FS COPY has become stuck. What's the best way of diagnosing the problem? Arve ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users -- Ahmed Mostafa Abdel-Baky Associate Software Engineer DB2 NSE Support Cairo Technology Development Center IBM Egypt Mobile: 0110887370 Office: +202-35361459 E-mail: ab...@eg.ibm.com ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users