Hi,

by mistake, in "album content" mode I moved a gallery into itself. Afterwards, apache was stuck to 100% CPU (had to kill and restart it) and after that neither the gallery nor its previous parent could be displayed.
Lookin in the database, the tid's parent was set to itself, which was the cause of the deadlock.
There should be a check to avoid this.

Thanks,
Xav

Comments

vhmauery’s picture

Status: Active » Postponed (maintainer needs more info)

I am not sure how you did this. I just tried moving an album into itself and into one of its children and it denied me. I could not do it. Please describe the album hierarchy and then the steps taken to move it into itself (i.e. which interface).

xav’s picture

Here you are:

<root>
- album 1
-- album 2

I used the "album contents" interface on album 1. Then IIRC I selected all (including album 2), selected 'album2' as destination folder and clicked on 'move'.

HTH,
Xav

vhmauery’s picture

Status: Postponed (maintainer needs more info) » Fixed

Can you try again with the latest version of Acidfree. This problem seems to be fixed for me. That is exactly what I tried.

xav’s picture

I'm a bit wary of doing that on my site right now - remember that deadlocks apache.
I'll try at a moment when it's less used.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.