Andreas Steinmetz said:

> The problem is that you can't remove directories with htcacheclean
> without generating race conditions wrt. httpd.

In this case the race in httpd should be fixed.

In theory, httpd should attempt to create the directory, then attempt to
move the file to that directory. If the move fails, attempt to create a
directory and move the file again, until successful or some sane max
retries, in which case give up and don't cache the file.

Regards,
Graham
--

Reply via email to