Hey Alston,

I believe the best way to handle this problem is to use the archivesspace.sh 
(or archivesspace.bat) script to stop the archivesspace process. I would check 
for any hung MySQL processes as well (and maybe restart MySQL depending what is 
in the logs) . Then I would look for hung processes on the server and use the 
kill command to stop those processes. Once they are stopped, you should be able 
to restart the archivesspace script and the hung background job should be gone. 
I would then look at the background job queue to see if the next job is still 
there and cancel it.  Once it has been cancelled, I would resubmit the job.

So the steps would be something like:


1.       `archivesspace.sh stop` (or, on windows, `archivesspace.bat stop`)

2.       make sure there are no archivesspace processes running (`ps auwx | 
grep archivesspace`) – if there are kill them

3.       check the health of the mysql server and restart the mysql server, if 
the logs give an indication that you should

4.       restart archivesspace with `archivesspace.sh start` or 
`archivesspace.bat start`

Does this help?

Laney

Laney McGlohon
ArchivesSpace Tech Lead
[email protected]<mailto:[email protected]>
800.999.8558 x2927
laneymcglohon Skype



From: <[email protected]> on behalf of 
"Cobourn, Alston" <[email protected]>
Reply-To: Archivesspace Users Group 
<[email protected]>
Date: Thursday, May 11, 2017 at 11:32 AM
To: "[email protected]" 
<[email protected]>
Subject: [Archivesspace_Users_Group] canceling background jobs from the backend

We are using AS 1.4.2.  I tested the data import functionality for marcxml of a 
FAST subject heading and the import job got “hung up” in the queue.  I have 
canceled it through the user interface but it appears to still be stuck because 
when I try to run another background job it just goes into the queue but never 
runs.  Can someone advise me on how my IT guy should clear the queue from the 
backend?

Thanks,

Alston Cobourn

_______________________________________________
Archivesspace_Users_Group mailing list
[email protected]
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

Reply via email to