CXCP-1251: XCP scan command returns error maximum recursion depth exceeded while calling a Python object
Issue
The XCP scan command is returning an error maximum recursion depth exceeded while calling a Python object
XCP command:2025-09-24 17:31:40,359 - INFO - 3094001 xcp xcp Command: scan {-fmt: "'{} {}'.format(size, x)", -loglevel: 'debug', -match: "type == f and modified > 60*day and (fnm('.fsdb') or fnm('.wdf') or fnm('.tr[0-9]') or fnm('.tr[0-9][0-9]') or fnm('.tr[0-9][0-9][0-9]'))"}*
XCP error:2025-09-24 17:39:20,161 - WARNING - 3094001 xcp batch 438 Memory: avail/total 52.3/62.4 GiB. Please refer troubleshooting section of User Guide
2025-09-24 17:39:20,162 - DEBUG - 3094001 xcp rd 'source:/source_path' fileid 1107724591 Traceback (most recent call last):
File "sched.pyx", line 651, in sched.Engine._runTasks
File "sched.pyx", line 1698, in sched.Task.run
File "rd.pyx", line 1396, in gReadDir
File "rd.pyx", line 3971, in rd.BatchTask.{}init{}
File "sched.pyx", line 1272, in sched.Task.{}init{}
File "sched.pyx", line 1268, in sched.Task.{}init{}
File "multiprocessing/process.py", line 121, in start
File "multiprocessing/context.py", line 284, in _Popen
File "multiprocessing/popen_spawn_posix.py", line 32, in {}init{}
File "multiprocessing/popen_fork.py", line 19, in {}init{}
File "multiprocessing/popen_spawn_posix.py", line 47, in _launch
File "multiprocessing/reduction.py", line 60, in dump
File "rd.pyx", line 558, in rd.Dir3.{}getstate{}
File "nfs3.pyx", line 369, in nfs3.File3.{}getstate{}
File "nfs3.pyx", line 671, in nfs3.getstate
RecursionError: maximum recursion depth exceeded while calling a Python object
