Resource deadlock avoided: Hazel won't copy to new NAS

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Just got a Ugreen NAS and Hazel won't copy files into it; the log shows Error Domain=NSPOSIXError Domain Code=11 "Resource deadlock avoided"

There is also a lot of nonsense about "Only need to check for changes 1 levels deep. Event is in directory 6 levels deep" (yes you do) and "Could not obtain lock on destination file [file path]: No such file or directory" (that's why you're supposed to make one)

Never had a problem with Hazel before. Why's it being dumb about the NAS?
Hawkstone
 
Posts: 4
Joined: Thu Dec 04, 2025 8:49 pm

Can you post the actual log messages? Thanks.
Mr_Noodle
Site Admin
 
Posts: 12098
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

I uninstalled and reinstalled Hazel and made some progress: a lot of my files carried over, but it seems to have gotten stuck before copying everything:

}
) for stream at path: /Volumes
2025-12-05 20:05:51.311 86Z3GCJ4MF.com.noodlesoft.HazelHelper[1406] DEBUG: Ignoring event in directory /Volumes/personal_folder/Pictures/sync.ffs_lock. Only need to check for changes 1 levels deep. Event is in directory 3 levels deep.
2025-12-05 20:05:51.311 86Z3GCJ4MF.com.noodlesoft.HazelHelper[1406] DEBUG: Ignoring event in directory /Volumes/personal_folder/Artwork/Girls Out/Issue 4/Links/15_5.pdf. Only need to check for changes 1 levels deep. Event is in directory 6 levels deep.
2025-12-05 20:05:51.311 86Z3GCJ4MF.com.noodlesoft.HazelHelper[1406] DEBUG: Error resolving symlinks for path /Volumes/personal_folder/Artwork/Girls Out/Issue 4/(A Document Being Saved By hazelworker):, No such file or directory
2025-12-05 20:05:51.311 86Z3GCJ4MF.com.noodlesoft.HazelHelper[1406] DEBUG: Ignoring event in directory /Volumes/personal_folder/Artwork/Girls Out/Issue 4/(A Document Being Saved By hazelworker). Only need to check for changes 1 levels deep. Event is in directory 5 levels deep.
2025-12-05 20:05:51.762 hazelworker[1524] [File Event] File copied: 15_5.pdf copied from folder /Users/mike/Library/Mobile Documents/com~apple~CloudDocs/•Girls Out/Issue 4/Links to folder /Volumes/personal_folder/Artwork/Girls Out.
2025-12-05 20:05:51.762 hazelworker[1524] DEBUG: Rule executed. Updating match date for file /Volumes/personal_folder/Artwork/Girls Out/Issue 4/Links/15_5.pdf: 2025-12-06 04:05:47 +0000
2025-12-05 20:05:51.762 hazelworker[1524] DEBUG: Rule requires extra matching pass.
2025-12-05 20:05:51.774 hazelworker[1524] 15_4.pdf: Rule Backup matched.
2025-12-05 20:05:51.774 hazelworker[1524] DEBUG: New rule signature. Executing actions.
Hawkstone
 
Posts: 4
Joined: Thu Dec 04, 2025 8:49 pm

By being stuck are you saying there are no log messages after what you posted? Launch Activity Monitor. Do you still see a process with PID 1524?
Mr_Noodle
Site Admin
 
Posts: 12098
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

No, it keeps creating (A Document Being Saved by Hazelworker) folders and deleting them.

No 1524 process, no!
Hawkstone
 
Posts: 4
Joined: Thu Dec 04, 2025 8:49 pm

Can you supply a longer excerpt from the logs? The temp files are usually the results of an aborted copy/move operation.
Mr_Noodle
Site Admin
 
Posts: 12098
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

I don't know what I'm missing, but Console keeps snapping to the top of the log and it won't let me select text. You all seem to manage it somehow!
Hawkstone
 
Posts: 4
Joined: Thu Dec 04, 2025 8:49 pm

I wonder what's going on that there's so much activity that there's no lull in the logs.

You could try stopping Hazel and grabbing an excerpt after that.
Mr_Noodle
Site Admin
 
Posts: 12098
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support