Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Errors running arachnysdocker/athenapdf-service:2.12.0 in k8s #161

Closed
jeffdeville opened this issue Jul 3, 2018 · 2 comments
Closed

Errors running arachnysdocker/athenapdf-service:2.12.0 in k8s #161

jeffdeville opened this issue Jul 3, 2018 · 2 comments

Comments

@jeffdeville
Copy link

jeffdeville commented Jul 3, 2018

Here's an example of the logging errors:

E [Worker #3] processing conversion job (pending conversions: 30)
E [AthenaPDF] converting to PDF: /tmp/tmp895906717.html
E captured errors:
E Error #1: exit status 1 :
E (athenapdf:16901): Gtk-WARNING **: cannot open display: :99

execing into the box does not include the tmp files, but presumably it's cleaning up after itself, since the error implies a different problem.

I'm going to restart the pod, and see if it recurs. We have another instance of athena running in the same cluster that is working just fine.

Question: Assuming a restart helps, is there a way to detect these problems, and restart the app from k8s?

Some comparisons between the working pods vs the not working one:

Working:

Not Working:

@MrSaints
Copy link
Collaborator

MrSaints commented Jul 3, 2018

There's a PR opened https://github.com/arachnys/athenapdf/pull/159/files that will address cases where the display server dies. In such a case, a simple check on k8s side should be enough to automatically restart the pod.

@MrSaints
Copy link
Collaborator

MrSaints commented Jul 5, 2018

@jeffdeville, we merged the aforementioned PR, and released it under https://github.com/arachnys/athenapdf/releases/tag/v2.13.0. Give arachnysdocker/athenapdf-service:2.13.0 a try as we are using it on Kubernetes as well without any problems.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants