JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for LCG-ROLLOUT Archives


LCG-ROLLOUT Archives

LCG-ROLLOUT Archives


LCG-ROLLOUT@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

LCG-ROLLOUT Home

LCG-ROLLOUT Home

LCG-ROLLOUT  June 2011

LCG-ROLLOUT June 2011

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: [StoRM-users] [LCG-ROLLOUT] FTS failures with StoRM SE: FTS timeout while computing checksum?

From:

"Christopher J. Walker" <[log in to unmask]>

Reply-To:

LHC Computer Grid - Rollout <[log in to unmask]>

Date:

Wed, 8 Jun 2011 23:10:27 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (222 lines)

On 03/06/11 07:14, Vincenzo Vagnoni wrote:
> Hi Chris,
> you should have the following configuration
>
> STORM_CKSUM_ALGORITHM="Adler32"
> STORM_CKSUM_SUPPORT="false"
> GRIDFTP_WITH_DSI="yes"
>
> Do you?
>

I didn't. I do now, and it seems to have solved the problem.

Thanks very much for your help.

This ought to be added to the release notes. NB We don't see entries in 
the storm-checksum.log file with this support enabled (which is  exactly 
what I'd expect).

Chris

> Cheers,
> 	Vincenzo
>
> On Jun 3, 2011, at 1:51 AM, Christopher J. Walker wrote:
>
>> On 02/06/11 22:45, Mario David wrote:
>>> hi
>>>
>>> in the log there is always 1 entry for each file even if it's calculated on the fly
>>
>> Unfortunately, this doesn't work for me. The problem I'm trying to fix
>> (that checksums take too long to calculate - so file transfers timeout)
>> is still present.
>>
>> I can't have set it up correctly as I still see significant traffic to
>> the checksum server - whereas if the checksum was being calculated on
>> the fly in gridftp,  there should only be a trivial amount of traffic to
>> the checksum server.
>>
>> Ideas?
>>
>>
>> Chris
>>
>>
>>
>>> Mario
>>>
>>> On Jun 2, 2011, at 9:34 PM, Christopher J.Walker wrote:
>>>
>>>> Mario David wrote:
>>>>> hi
>>>>>
>>>>> I have gftp servers in seperate machines from the FE and BE
>>>>>
>>>>> in the gftp server do you have the yaim variable
>>>>> GRIDFTP_WITH_DSI="yes"
>>>>> that should do the trick
>>>>
>>>> I've tried to configure this - but there are still entries in the
>>>> storm-checksum log - so presumably I've failed.
>>>>
>>>> Any suggestions?
>>>>
>>>> Chris
>>>>
>>>>> cheers
>>>>> Mario
>>>>> On May 29, 2011, at 4:28 PM, Christopher J. Walker wrote:
>>>>>
>>>>>> On 29/05/11 13:47, Mario David wrote:
>>>>>>> hi Chris
>>>>>>>
>>>>>>> you should have in the gftpserver/cksum the following
>>>>>>>
>>>>>>> [root@gftp04 ~]#  rpm -ql storm-globus-gridftp-gcc64dbg
>>>>>>> /etc/init.d/globus-gridftp
>>>>>>> /etc/logrotate.d/globus-gridftp
>>>>>>> /opt/storm/gridftp/etc/init.d/globus-gridftp
>>>>>>> /opt/storm/gridftp/etc/logrotate.d/globus-gridftp
>>>>>>> /opt/storm/gridftp/lib64/libglobus_gridftp_server_StoRM_gcc64dbg.a
>>>>>>> /opt/storm/gridftp/lib64/libglobus_gridftp_server_StoRM_gcc64dbg.so
>>>>>>> /opt/storm/gridftp/lib64/libglobus_gridftp_server_StoRM_gcc64dbg.so.0
>>>>>>> /opt/storm/gridftp/lib64/libglobus_gridftp_server_StoRM_gcc64dbg.so.0.0.0
>>>>>>> /opt/storm/gridftp/share/doc/storm-globus-gridftp-1.0.5/LICENSE
>>>>>>>
>>>>>> I do.
>>>>>> [root@se03 log]#  rpm -ql storm-globus-gridftp-gcc64dbg
>>>>>> /etc/init.d/globus-gridftp
>>>>>> /etc/logrotate.d/globus-gridftp
>>>>>> /opt/storm/gridftp/etc/init.d/globus-gridftp
>>>>>> /opt/storm/gridftp/etc/logrotate.d/globus-gridftp
>>>>>> /opt/storm/gridftp/lib64/libglobus_gridftp_server_StoRM_gcc64dbg.a
>>>>>> /opt/storm/gridftp/lib64/libglobus_gridftp_server_StoRM_gcc64dbg.so
>>>>>> /opt/storm/gridftp/lib64/libglobus_gridftp_server_StoRM_gcc64dbg.so.0
>>>>>> /opt/storm/gridftp/lib64/libglobus_gridftp_server_StoRM_gcc64dbg.so.0.0.0
>>>>>> /opt/storm/gridftp/share/doc/storm-globus-gridftp-1.1.0/CREDITS
>>>>>> /opt/storm/gridftp/share/doc/storm-globus-gridftp-1.1.0/ChangeLog
>>>>>> /opt/storm/gridftp/share/doc/storm-globus-gridftp-1.1.0/LICENSE
>>>>>> /opt/storm/gridftp/share/doc/storm-globus-gridftp-1.1.0/README
>>>>>>
>>>>>>
>>>>>>> this has the proper DSI to calculate the checksum while the file is being transferred, on the fly.
>>>>>> Oh, that sounds more efficient - and would solve this problem.
>>>>>>
>>>>>>> or do you already have it?
>>>>>> I seem to have it, but it looks like it isn't being used.  I currently run the GridFTP server on the same machine as our SE (or on a test SE).
>>>>>>
>>>>>> In the release notes for StoRM 1.6.2, it says:
>>>>>>       "Due to a conflicts in some packages, the StoRM-GridFTP service
>>>>>> 	is not installable in the same node of storm-
>>>>>> 	backend"
>>>>>>
>>>>>> Would installing a separate gridftp server fix my problem, or do I just need to turn it on somehow?
>>>>>>
>>>>>>> I have in etc/storm-checksum.ini
>>>>>>> # number of threads
>>>>>>> threads=4
>>>>>>>
>>>>>>> and it seems enough in both T2 atlas sites
>>>>>> I have 10 threads and a 10GigE card. However, our new disk servers have 4*1Gbit cards. If a 2 GB file is not cached in RAM, it will take around 20s to checksum - which seems to be too long.
>>>>>>
>>>>>> Chris
>>>>>>> cheers
>>>>>>> Mario
>>>>>>>
>>>>>>> On May 29, 2011, at 12:19 AM, Christopher J. Walker wrote:
>>>>>>>
>>>>>>>> QMUL is seeing FTS failures of files transferred into the site.
>>>>>>>>
>>>>>>>> StoRM calculates checksums synchronously when srnPutDone is called[1]. I suspect that the problem occurs if the checksum takes too long to calculate (probably longer than about 10s).
>>>>>>>>
>>>>>>>> https://ggus.eu/ws/ticket_info.php?ticket=70925 and https://ggus.eu/ws/ticket_info.php?ticket=70672 have been filed against us.
>>>>>>>>
>>>>>>>> At QMUL, our gridftp and checksum server are on the same machine, so the file is usually in the pagecache and the checksum is calculated quickly. When the system is load, the file may not be in the pagecache and the checksum calculation takes longer.
>>>>>>>>
>>>>>>>> Today, there are 3 failures.
>>>>>>>>
>>>>>>>> https://lcgfts01.gridpp.rl.ac.uk:8443/glite-data-transfer-fts/cgi-bin/fts-mon-log.pl?t=GRPATLST1S-UKILT2QMULfailed/GRPATLST1S-UKILT2QMUL__2011-05-28-0924_u6keHj.log
>>>>>>>>
>>>>>>>>
>>>>>>>> The slowest checksum calculations took the following number of milliseconds:
>>>>>>>>
>>>>>>>> [root@se03 ~]# awk '/millis/ {print $9}' /opt/storm/checksum/var/log/storm-checksum.log | sort -n | tail -5
>>>>>>>> 8139
>>>>>>>> 10645
>>>>>>>> 17574
>>>>>>>> 18471
>>>>>>>> 19189
>>>>>>>>
>>>>>>>> There are 4 checksums that took over 10s to calculate. The one that succeeded was from a worker node.
>>>>>>>>
>>>>>>>> Looking at the logs for one of the failures:
>>>>>>>>
>>>>>>>> https://lcgfts01.gridpp.rl.ac.uk:8443/glite-data-transfer-fts/cgi-bin/fts-mon-log.pl?t=GRPATLST1S-UKILT2QMULfailed/GRPATLST1S-UKILT2QMUL__2011-05-28-0924_u6keHj.log
>>>>>>>>
>>>>>>>>
>>>>>>>> I see the following errors:
>>>>>>>>
>>>>>>>> 2011-05-28 10:26:18,848 [INFO ] - STATUS:BEGIN:DESTINATION - Finalization
>>>>>>>> 2011-05-28 10:26:18,848 [INFO ] - completing PrepareToPut [38924519-7abd-44d4-87b8-429f9e67d557] for SURL [srm://se03.esc.qmul.ac.uk/atlas/atlasdatadisk/data10_7TeV/NTUP_SUSY/f275_m548_p305/data10_7TeV.00159224.physics_L1Calo.merge.NTUP_SUSY.f275_m548_p305_tid199739_00/NTUP_SUSY.199739._000106.root.1]
>>>>>>>> 2011-05-28 10:28:48,959 [WARN ] - SRM>    method srm2__srmPutDone failed (ip = 0.0.0.0)
>>>>>>>> 2011-05-28 10:28:48,960 [WARN ] - Failed to contact remote SRM [httpg://se03.esc.qmul.ac.uk:8444/srm/managerv2] for completing the request [38924519-7abd-44d4-87b8-429f9e67d557]: service timeout during [srm2__srmPutDone]
>>>>>>>> 2011-05-28 10:28:48,960 [INFO ] - This call will be retried
>>>>>>>> 2011-05-28 10:28:53,180 [WARN ] - Failed to complete PrepareToPut [38924519-7abd-44d4-87b8-429f9e67d557]. Try to abort it
>>>>>>>> 2011-05-28 10:28:53,290 [INFO ] - Abort completed for request [38924519-7abd-44d4-87b8-429f9e67d557]
>>>>>>>> 2011-05-28 10:28:53,290 [ERROR] - Failed to complete PrepareToPut request [38924519-7abd-44d4-87b8-429f9e67d557] on remote SRM [httpg://se03.esc.qmul.ac.uk:8444/srm/managerv2]: [SRM_FAILURE] All file requests are failed.The PrepareToPut request has been successfully aborted
>>>>>>>> 2011-05-28 10:28:53,290 [ERROR] - DESTINATION failed during FINALIZATION phase. Error [GENERAL_FAILURE]:Failed to complete PrepareToPut request [38924519-7abd-44d4-87b8-429f9e67d557] on remote SRM [httpg://se03.esc.qmul.ac.uk:8444/srm/managerv2]: [SRM_FAILURE] All file requests are failed.The PrepareToPut request has been successfully aborted
>>>>>>>> 2011-05-28 10:28:53,569 [INFO ] - File [srm://se03.esc.qmul.ac.uk/atlas/atlasdatadisk/data10_7TeV/NTUP_SUSY/f275_m548_p305/data10_7TeV.00159224.physics_L1Calo.merge.NTUP_SUSY.f275_m548_p305_tid199739_00/NTUP_SUSY.199739._000106.root.1] removed
>>>>>>>> 2011-05-28 10:28:53,569 [INFO ] - STATUS:END fail:DESTINATION - Finalization
>>>>>>>> 2011-05-28 10:28:53,569 [ERROR] - Final error on DESTINATION during FINALIZATION phase: [GENERAL_FAILURE] Failed to complete PrepareToPut request [38924519-7abd-44d4-87b8-429f9e67d557] on remote SRM [httpg://se03.esc.qmul.ac.uk:8444/srm/managerv2]: [SRM_FAILURE] All file requests are failed.The PrepareToPut request has been successfully aborted
>>>>>>>> 2011-05-28 10:28:53,569 [INFO ] - FINAL:DESTINATION: Failed to complete PrepareToPut request [38924519-7abd-44d4-87b8-429f9e67d557] on remote SRM [httpg://se03.esc.qmul.ac.uk:8444/srm/managerv2]: [SRM_FAILURE] All file requests are failed.The PrepareToPut request has been successfully aborted
>>>>>>>> 2011-05-28 10:28:53,569 [INFO ] - FINAL:fail  [DESTINATION] - [FINALIZATION] - [GENERAL_FAILURE] : 'Failed to complete PrepareToPut request [38924519-7abd-44d4-87b8-429f9e67d557] on remote SRM [httpg://se03.esc.qmul.ac.uk:8444/srm/managerv2]: [SRM_FAILURE] All file requests are failed.The PrepareToPut request has been successfully aborted'
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> in the storm-backend.log, I see:
>>>>>>>>
>>>>>>>> 0:26:20.053 - INFO [XML-RPC-22] - srmPutDone:<Grid User (VOMS) = DN:'OID.0.9.2342.19200300.100.1.25=ch, OID.0.9.2342.19200300.100.1.25=cern, OU=Organic Units, OU=Users, CN=ddmadmin, CN=531497, CN=Robot: ATLAS Data Management' FQANS:[/atlas/Role=production/Capability=NULL, /atlas/Role=NULL/Capability=NULL, /atlas/lcg1/Role=NULL/Capability=NULL]>    Request for [token:38924519-7abd-44d4-87b8-429f9e67d557] for [SURL:srm://se03.esc.qmul.ac.uk/atlas/atlasdatadisk/data10_7TeV/NTUP_SUSY/f275_m548_p305/data10_7TeV.00159224.physics_L1Calo.merge.NTUP_SUSY.f275_m548_p305_tid199739_00/NTUP_SUSY.199739._000106.root.1] successfully done with: [status:SRM_SUCCESS: ]
>>>>>>>> 10:26:20.053 - INFO [XML-RPC-22] - Executing PutDone for SURL: srm://se03.esc.qmul.ac.uk/atlas/atlasdatadisk/data10_7TeV/NTUP_SUSY/f275_m548_p305/data10_7TeV.00159224.physics_L1Calo.merge.NTUP_SUSY.f275_m548_p305_tid199739_00/NTUP_SUSY.199739._000106.root.1
>>>>>>>> 10:26:30.705 - INFO [XML-RPC-22] - srmPutDone:<Grid User (VOMS) = DN:'OID.0.9.2342.19200300.100.1.25=ch, OID.0.9.2342.19200300.100.1.25=cern, OU=Organic Units, OU=Users, CN=ddmadmin, CN=531497, CN=Robot: ATLAS Data Management' FQANS:[/atlas/Role=production/Capability=NULL, /atlas/Role=NULL/Capability=NULL, /atlas/lcg1/Role=NULL/Capability=NULL]>    Request for [token:38924519-7abd-44d4-87b8-429f9e67d557] for [SURL:'srm://se03.esc.qmul.ac.uk/atlas/atlasdatadisk/data10_7TeV/NTUP_SUSY/f275_m548_p305/data10_7TeV.00159224.physics_L1Calo.merge.NTUP_SUSY.f275_m548_p305_tid199739_00/NTUP_SUSY.199739._000106.root.1'] successfully done with: [status:SRM_SUCCESS: All file requests are successfully completed]
>>>>>>>> 10:28:53.171 - WARN [XML-RPC-20] - srmPutDone:<Grid User (VOMS) = DN:'OID.0.9.2342.19200300.100.1.25=ch, OID.0.9.2342.19200300.100.1.25=cern, OU=Organic Units, OU=Users, CN=ddmadmin, CN=531497, CN=Robot: ATLAS Data Management' FQANS:[/atlas/Role=production/Capability=NULL, /atlas/Role=NULL/Capability=NULL, /atlas/lcg1/Role=NULL/Capability=NULL]>    Request for [token:38924519-7abd-44d4-87b8-429f9e67d557] for [SURL:srm://se03.esc.qmul.ac.uk/atlas/atlasdatadisk/data10_7TeV/NTUP_SUSY/f275_m548_p305/data10_7TeV.00159224.physics_L1Calo.merge.NTUP_SUSY.f275_m548_p305_tid199739_00/NTUP_SUSY.199739._000106.root.1] failed with: [status:SRM_DUPLICATION_ERROR: ]
>>>>>>>>
>>>>>>>>
>>>>>>>> so the srmPutDone did succeed the first time - and fails the second time it is called.
>>>>>>>>
>>>>>>>>
>>>>>>>> Looking at another site, RHUL, I see
>>>>>>>>
>>>>>>>> https://lcgfts01.gridpp.rl.ac.uk:8443/glite-data-transfer-fts/cgi-bin/fts-mon-log.pl?t=RALLCG2-UKILT2RHULcompleted/RALLCG2-UKILT2RHUL__2011-05-28-2242_qViWPW.log
>>>>>>>>
>>>>>>>> I see that the srmPutDone call completes immediately, but the checksum checking gets SRM_REQUEST_QUEUED.
>>>>>>>>
>>>>>>>> So there are a couple of questions.
>>>>>>>>
>>>>>>>> 1) Why is the srmPutDone call timing out? Should it, or should StoRM accept the request immediately and then queue the request for the checksum?
>>>>>>>>
>>>>>>>> 2) Is FTS correct in sending srmPutDone twice, or StoRM correct in rejecting the second call.
>>>>>>>>
>>>>>>>> Chris
>>>>>>>>
>>>>>>>> [1]http://storm.forge.cnaf.infn.it/documentation/checksum
>>>>>>>>
>>>>
>>
>> _______________________________________________
>> Storm-users mailing list
>> [log in to unmask]
>> https://iris.cnaf.infn.it/mailman/listinfo/storm-users
>
> ----------------------------------------------------------------------------
> Dr. Vincenzo Maria Vagnoni
> Istituto Nazionale di Fisica Nucleare, Sezione di Bologna
> via Irnerio, 46, I-40126 Bologna - ITALY
> Phone:  +39-051-20-91071 +39-051-20-91026
> Mobile: +39-347-6056920
> e-mail: [log in to unmask]
> ----------------------------------------------------------------------------
>

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
November 2023
June 2023
May 2023
April 2023
March 2023
February 2023
September 2022
June 2022
May 2022
April 2022
February 2022
December 2021
November 2021
October 2021
September 2021
July 2021
June 2021
May 2021
February 2021
January 2021
November 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
February 2018
January 2018
November 2017
October 2017
September 2017
July 2017
June 2017
May 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager