XCP SMB: A process in the process pool was terminated abruptly
Applies to
- XCP SMB 1.9.4P1
- EMC UNITY to NetApp C30 NAS data migration
Issue
- XCP copy and XCP sync commands failed with error A process in the process pool was terminated abruptly
Example:
2025-11-28 16:45:48,965 - INFO - xcp.main - 7164 - 7740 - Command: xcp sync -v -loglevel DEBUG -root -acl \\source_path \\target_path -fallback-user administrator@domain.com -fallback-group Domain Admins@domain.com2025-11-28 16:45:49,074 - INFO - xcp.main - 7164 - 7740 - User Name: administrator2025-11-28 16:45:49,183 - DEBUG - asyncio - 7164 - 7740 - Using proactor: IocpProactor2025-11-28 16:45:49,449 - DEBUG - xcp.sync - 7164 - 7740 - recursion limit is 1000002025-11-28 16:45:49,558 - DEBUG - xcp.scanner - 7164 - 7740 - Root Item Scanned : File(path='', type='d', size=0, atime=1632962964.896569, mtime=1632962995.117712, ctime=1632886151.143147, atime_ns=1632962964896569000, mtime_ns=1632962995117712000, ctime_ns=1632886151143147000, attributes=16, sid='S-1-5-21-1893195541-2502410226-4144961470-7719', parent=None, security=None), Number of child items: 132025-11-28 16:45:49,668 - DEBUG - xcp.scanner - 7164 - 7740 - Root Item Scanned : File(path='', type='d', size=0, atime=1764315819.858167, mtime=1764315306.203722, ctime=1764208881.209643, atime_ns=1764315819858167000, mtime_ns=1764315306203722000, ctime_ns=1764208881209643000, attributes=16, sid='S-1-5-21-2038298172-1297133386-11111-0', parent=None, security=None), Number of child items: 132025-11-28 16:45:50,434 - ERROR - xcp.scanner - 7164 - 7740 - failed to scan path "\\target_path": A process in the process pool was terminated abruptly while the future was running or pending.2025-11-28 16:45:50,653 - DEBUG - xcp.scanner - 7164 - 7740 - stack trace:Traceback (most recent call last):File "xcp\scanner.py", line 141, in scandir_flatFile "xcp\scanner.py", line 100, in direntries_to_filesconcurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.2025-11-28 16:45:50,762 - ERROR - xcp.scanner - 7164 - 7740 - failed to scan path "\\source_path": A process in the process pool was terminated abruptly while the future was running or pending.2025-11-28 16:45:50,981 - DEBUG - xcp.scanner - 7164 - 7740 - stack trace:Traceback (most recent call last):File "xcp\scanner.py", line 141, in scandir_flatFile "xcp\scanner.py", line 100, in direntries_to_filesFile "xcp\scanner.py", line 141, in scandir_flatFile "xcp\scanner.py", line 100, in direntries_to_filesconcurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.2025-11-28 16:45:51,091 - WARNING - xcp.comparator - 7164 - 7740 - skipping comparison for : type "d", cause: "A child process terminated abruptly, the process pool is not usable anymore"2025-11-28 6:45:51,309 - INFO - root - 7164 - 7740 - Command has failed- These errors can be avoided by setting the parallel option to 1, but this will result in a very slow transfer speed
