Timeout during large deletion

39 views
Skip to first unread message

t...@maxcommunications.co.uk

unread,
Jul 16, 2018, 11:13:21 AM7/16/18
to AtoM Users
Hi Dan

on one of our AtoM sites someone was deleting a collection with around 700 items in it.
A timeout of some sort occurred and when the page was refereshed all the collections in the site had disapeared.
We fixed it by restarting php and then php symfonysearch:populate. Is there anything that
can be done to stop such timeouts?

Regards


Tim Schofield

Dan Gillean

unread,
Jul 18, 2018, 3:46:43 PM7/18/18
to ICA-AtoM Users
Hi Tim, 

The long-term solution requires development - deletions of large hierarchies should probably use the job scheduler, to avoid timeouts. 

If Max Communications wants to try taking this on, it might be useful to look at how the Move module was refactored to add job scheduler support. See: 
Otherwise, this will likely take community sponsorship for Artefactual to be able to do the development and include it in a future public release. 

In the meantime, a couple other pointers: 

There is a task that can be used to delete descriptions - you might want to try that. See: 
I'd say this would be a better way to perform larger hierarchy deletions in the meantime. 

Since the operation timed out, you might also want to run a couple checks to ensure that this hasn't left any data corruption behind. See the following section of our new Troubleshooting page for suggestions on how to check for the most common occurrences: 
Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/fcce47c7-17e4-4316-a3b1-dd18ab991015%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages