Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
929 Lượt xem

Hi,


Wkhtmltopdf failed (error code: -11). Memory limit too low or maximum 

file number of subprocess reached. Message : QPaintDevice: Cannot 

destroy paint device that is being painted.


Wkhtmltopdf failed (error code: -11). Memory limit too low or maximum file number of subprocess reached. Message : b''


What is the solution for this ? Our current server configuration is


  • 16 GB RAM
  • 4 core CPU



Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello,

According to this link: https://github.com/wkhtmltopdf/wkhtmltopdf/issues/4957 , you can resolved this issue by increase  file and stack limits with command: "ulimit -n 10000".

Or if you have interest, you can check out our product: Local PDF Report Generation and Printing, which offer the ability to generate and print from local PC, and reduce your sever load at the same time.

Best regard.


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I had the same problem, I have solved it for some time by increasing the number of workers in my configuration then I faced the same issue with huge datasets. 

For this, I have solved the issue by adding queue_job module from OCA.

I hope this helps!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
11
thg 10 24
70750
0
thg 6 25
2
0
thg 3 25
1860
1
thg 3 25
1980
2
thg 7 24
4492