Gearmand

41 views
Skip to first unread message

Avatar Bhola

unread,
Apr 15, 2021, 2:10:42 PM4/15/21
to AtoM Users
Hello everyone I keep getting this error when I try to upload a csv.

"No Gearman worker available that can handle the job arFileImportJob."

I am doing this on Windows. 

Dan Gillean

unread,
Apr 15, 2021, 4:01:08 PM4/15/21
to ICA-AtoM Users
Hi there, 

As I've noted in your previous posts, we are limited in the level of support we can provide for Windows installations, as this is not a recommended or supported platform. However, I can provide you with context and suggestions based on the recommended instructions. 

There are several tasks in AtoM that can take a long time to execute - longer than the default 1 minute timeout limit that most browsers impose to prevent requests from exhausting all system resources. To avoid the browser timeouts from terminating long-running processes midway through (and potentially causing data corruption), AtoM uses Gearman as a job scheduler to perform these tasks asynchronously in the background. This way, the user can keep using AtoM while the job runs, and the length of the job is not bound to 1 minute or less. 

Examples of things that AtoM currently uses the job scheduler for: 
  • Imports (both CSV and XML) from the user interface
  • Exports from the clipboard
  • Moving a description from one parent to another
  • Generating finding aids and reports
  • Handling DIP uploads from Archivematica
And more! 

Instructions for installing and configuring Gearman in AtoM can be found here: 
Keep in mind that these instructions use Ubuntu's systemd daemon to manage gearman's workers as a service - which will obviously not work in Windows, so you might have to do some research on how best to manage this for yourself. 

If you have managed to install and configure Gearman, then the error message you are seeing is telling you that the atom-worker needs to be restarted. Once again, this will be different in your Windows environment, so I can only share the Ubuntu instructions, and hope that they point you in the right direction. 

To restart the atom-worker in Ubuntu, see:

Some notes on this:

  • You can check the status of the atom-worker at any time in Ubuntu with: sudo systemctl status atom-worker.This is useful to make sure the restart was successful.
  •  When the worker dies, AtoM will attempt to automatically restart it - however, to prevent the system from being caught in an endless loop, we added a restart limit to the configuration file - 3 retries every 24 hours. You can reset this fail limit with the following command:
    • sudo systemctl reset-failed atom-worker
  • Then run the restart command again if the previous attempts didn't work. 
Good luck!

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


--
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-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/9dc249e7-97f8-4262-bc16-d00bbf4f4587n%40googlegroups.com.

Avatar Bhola

unread,
Apr 15, 2021, 4:46:05 PM4/15/21
to ica-ato...@googlegroups.com

Thanks for the info, so where exactly is “atom worker”? I figure I can open it using cmd.

 

Best Regards,

 

Avatar Bhola

Coodinator, Computer Applications

Christine E. Lynn College Of Nursing

Florida Atlantic University

abhol...@health.fau.edu | https://nit.fau.edu

--
You received this message because you are subscribed to a topic in the Google Groups "AtoM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ica-atom-users/7lk7rTi_MTU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAC1FhZJ6riZAW3LhVbvoixSurPYZLD%3Dxa3fcoeCjC9PuPi49yQ%40mail.gmail.com.


CONFIDENTIALITY NOTICE: The information contained in this transmission may contain privileged and confidential information, including patient information protected by federal and state privacy laws. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution, or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email, report the error to FAU’s Chief Compliance Officer, and destroy all copies of the original message.

Dan Gillean

unread,
Apr 19, 2021, 9:56:28 AM4/19/21
to ICA-AtoM Users
I'm not sure how knowing where it installs in Ubuntu will help you in Windows, as the filesystem and underlying services will be completely different in a Windows environment. That said, on an Ubuntu installation you can try running the following to see locations that have gearman-job-server in their name: 
  • dpkg -L gearman-job-server
If you search online for "Gearman Windows" you can find some results - I have no idea how accurate or current these are, or how easy it will be to configure them to work with an AtoM Windows installation, but they should give you a starting point. 

Once again I will pass on the recommendation for you to consider virtualization - if you run AtoM in an Ubuntu VM on your Windows server, then you can still follow the recommended installation docs. 

Good luck! 

Dan Gillean, MAS, MLIS

Reply all
Reply to author
Forward
0 new messages