Skip to main content
NetApp Knowledge Base

CXCP-1251: XCP scan command returns error maximum recursion depth exceeded while calling a Python object

Views:
5
Visibility:
Public
Votes:
0
Category:
netappxcp
Specialty:
nas
Last Updated:

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

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.