The following are steps used to troubleshoot the case:
- Review cd_deployer_conf.xml file to see if Cleanup="false"
- Review deployer core log to look for any unusual messages and to trace the cleanup process
- Manually clean up the deployer incoming folder, restart services, see if cleanup then takes place as expected
- Collect ProcMon traces to see if any external processes are interfering
- Check if the incoming folder is excluded from virus scans
- Check if multiple deployers are interacting on the same incoming folder and competing in a racing condition
- Check if queues still retain old transactions, clear these, restart deployer(s).