HazelWorker Hanging
Posted: Thu Feb 22, 2024 3:53 am
I have a large folder I'm trying to sync from my iCloud folder to my Synology NAS.
Hazel syncs all of my other folders but I have one folder with over 100,000 files. Every 1,000 or so files it just stops working.
I see this error in the Debug logs:
2024-02-22 14:42:57.355 hazelworker[360] Documents: Rule Sync Personal Docs Folder matched.
2024-02-22 14:42:57.355 hazelworker[360] DEBUG: New rule signature. Executing actions.
Old signatures: (
)
New Signature:{typeObject isType: "public.folder" AND displayBasename ==[cd] "Documents" AND (dateModified >[cd] dateMatched OR (dateModified >[cd] dateMatched))}:{(sync:/Volumes/Document Archive/2024 Document Archive/Personal/Docs,{
})}
2024-02-22 14:42:57.361 hazelworker[360] DEBUG: Could not find trash directory for path /Volumes/Document Archive/2024 Document Archive/Personal/Docs: Error Domain=NSCocoaErrorDomain Code=3328 "The requested operation couldn’t be completed because the feature is not supported." UserInfo={NSUnderlyingError=0x600003b02100 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
And usually I have a folder created in the directory called:
(A Document Being Saved By hazelworker)
In that folder is the file being copied (obviously). But it doesn't seem to have any rhyme or reason on what files it stops working on. The current one is 3k. Another one might be 100MB.
I end up having to restart Hazel rules and then it will do another 1,000-ish more files and then hang again.
Hazel syncs all of my other folders but I have one folder with over 100,000 files. Every 1,000 or so files it just stops working.
I see this error in the Debug logs:
2024-02-22 14:42:57.355 hazelworker[360] Documents: Rule Sync Personal Docs Folder matched.
2024-02-22 14:42:57.355 hazelworker[360] DEBUG: New rule signature. Executing actions.
Old signatures: (
)
New Signature:{typeObject isType: "public.folder" AND displayBasename ==[cd] "Documents" AND (dateModified >[cd] dateMatched OR (dateModified >[cd] dateMatched))}:{(sync:/Volumes/Document Archive/2024 Document Archive/Personal/Docs,{
})}
2024-02-22 14:42:57.361 hazelworker[360] DEBUG: Could not find trash directory for path /Volumes/Document Archive/2024 Document Archive/Personal/Docs: Error Domain=NSCocoaErrorDomain Code=3328 "The requested operation couldn’t be completed because the feature is not supported." UserInfo={NSUnderlyingError=0x600003b02100 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
And usually I have a folder created in the directory called:
(A Document Being Saved By hazelworker)
In that folder is the file being copied (obviously). But it doesn't seem to have any rhyme or reason on what files it stops working on. The current one is 3k. Another one might be 100MB.
I end up having to restart Hazel rules and then it will do another 1,000-ish more files and then hang again.