Print

Print


Hello,

I know this one sounds very specific but bear with me :)
Initially tracked here ([DMC-1285](https://its.cern.ch/jira/browse/DMC-1285)). 

When calling `gfal-copy` (with ProgressBar) against a TLS XRootd Storage, the XRootD client will enter a loop, caused by the `XrdClForkHandler`. The [ProgressBar](https://gitlab.cern.ch/dmc/gfal2-util/-/blob/v1.7.0/src/gfal2_util/progress.py#L53), which spawns a Python thread of its own, is a necessary step to trigger this.

It might be the additional thread puts the `XrdClForkHandler` in a bad state, causing the loop.

How to reproduce:
```
$ XRD_RUNFORKHANDLER=1 gfal-copy /tmp/file root://osggridftp01.slac.stanford.edu:2094/<path>
```

From XRootd v5.2.0, the `XrdClForkHandler` is enabled by default

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1553

########################################################################
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