Print

Print


The XRootD server logs on `tpsrv452` showing the double open from the same client `tpsrv210`.  We clearly see the unwanted open being followed by an immediate close with ERROR (closed socket).  We unfortunately we do not find the successful close (maybe this isn't logged?):
```
[root@tpsrv452 ~]# zgrep '1633530374@castorns' /var/log/xrootd/server/xrootd.log-20180317.gz | egrep 'func=open|func=close' | grep tpsrv210
180316 17:17:22 time=1521217042.018172 func=open                     level=INFO  logid=81a998c6-2935-11e8-8389-a4bf0112f566 [log in to unmask]:1094 tid=140281188312832 source=XrdxCastor2Ofs:697   tident=stage.27009:35@tpsrv210 [log in to unmask], opaque=castor.exptime=1521220581&[log in to unmask]&castor.pfn2=0:15511:660c04e5-491a-4d53-abe6-011674bb3fd4&castor.signature=M+zmafoPSQ1Dh9WQvf2j2s+Ppg3atlDffJPwQzvsTAlf1NnoxQjMl2SlFuTFOqEdlAcGqkvH5RvaK+vVhRQ/4g==&castor.txtype=tape, isRW=1, open_mode=4200, file_ptr=0x7f95ac105d30
180316 17:19:00 time=1521217140.188374 func=open                     level=INFO  logid=bc2d2eae-2935-11e8-a8c6-a4bf0112f566 [log in to unmask]:1094 tid=140280503043840 source=XrdxCastor2Ofs:697   tident=stage.27009:30@tpsrv210 [log in to unmask], opaque=castor.exptime=1521220581&[log in to unmask]&castor.pfn2=0:15511:660c04e5-491a-4d53-abe6-011674bb3fd4&castor.signature=M+zmafoPSQ1Dh9WQvf2j2s+Ppg3atlDffJPwQzvsTAlf1NnoxQjMl2SlFuTFOqEdlAcGqkvH5RvaK+vVhRQ/4g==&castor.txtype=tape, isRW=1, open_mode=4200, file_ptr=0x7f95740033d0
180316 17:19:00 time=1521217140.404038 func=close                    level=ERROR logid=bc2d2eae-2935-11e8-a8c6-a4bf0112f566 [log in to unmask]:1094 tid=140280503043840 source=XrdxCastor2Ofs:974   tident=stage.27009:30@tpsrv210 [log in to unmask] msg="closed via destructor"
[root@tpsrv452 ~]# 
```

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/673#issuecomment-374895195

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1