Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jobs not generating files and returning error Text file busy Errno::ETXTBSY #163

Open
caffo opened this issue Jul 13, 2023 · 1 comment
Open

Comments

@caffo
Copy link

caffo commented Jul 13, 2023

Hi, I'm using wkhtmltopdf in a low-volume app, with the jobs enqueued. From time to time, I encounter the error 'Text file busy', resulting in the PDF not being generated. However, this doesn't always happen. More information is provided below:

Stack:

RuntimeError: PDF could not be generated!
 Command Error: /opt/render/project/.gems/ruby/3.0.0/gems/wkhtmltopdf-binary-0.12.6.6/bin/wkhtmltopdf:74:in `exec': Text file busy - /opt/render/project/.gems/ruby/3.0.0/gems/wkhtmltopdf-binary-0.12.6.6/bin/wkhtmltopdf_debian_10_amd64 (Errno::ETXTBSY)
	from /opt/render/project/.gems/ruby/3.0.0/gems/wkhtmltopdf-binary-0.12.6.6/bin/wkhtmltopdf:74:in `<top (required)>'
	from /opt/render/project/.gems/bin/wkhtmltopdf:27:in `load'
	from /opt/render/project/.gems/bin/wkhtmltopdf:27:in `<main>'

System

  • Using it through wickedpdf
  • Production server running the wkhtmltopdf_debian_10_amd64 binary

Flow

CleanShot 2023-07-13 at 13 09 30@2x
@KimTrijnh
Copy link

I got the same problem when having jobs running at the same time. have you fixed it yet?
Screenshot 2024-05-27 at 22 26 32

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

No branches or pull requests

2 participants