collectiveidea/delayed_job — Issue #299: Dj locks files. Cannot remove dirs using rm -fr
Author: hackhowtofaq
Created: 2011-10-20 12:54:03+00:00
State: open

In a dj function I execute some linux commands via `` which are creating some new dir/files. When the worker finishes his job without any failures, I am trying to 'rm -fr' some created dirs, but I can't.

A closer look at that dirs and to my surprise I discovered some hidden files '.nfs00000000000xx0x0x0' that cannot be removed because they are still use by the worker.

Any clues?

Thanx