Community mailing list archives

community@mail.odoo.com

RE: wkhtmltopdf severe memory leak

by
Bista Solutions US, Ray Carnes
- 07/28/2016 16:49:55

In our most recent deployment:

 

8 CPU’s

2 Threads per core

4 Cores per socket

1 Socket             1

2,900 Mhz CPU

16GB RAM

 

10 Odoo workers

 

Initially we ran into occasional error -11 with PDF generation.

 

After increasing the worker  limit_memory_hard parameter to 2GB we have had no further reports of any problems.

 

For those who don’t know, Odoo recommends 0.12.1 of wkhtmltopdf as documented at https://www.odoo.com/documentation/9.0/setup/install.html

 

Ray.

 

From: David Arnold [mailto:dar@devco.co]
Sent: Thursday, July 28, 2016 1:27 PM
To: Community <community@mail.odoo.com>
Subject: wkhtmltopdf severe memory leak

 

Hi,

we have experienced the following issue:
https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2950

In short wkhtml explodes to 1GB+ memory consumption in less then our metrics resolution (2s).

That should worry anyone who runs wkhtmltopdf on the same instance as odoo runs and would kill every averagely scoped server instance under otherwise normal load.

Be warned!
Share your experience with this please!

If I remeber correctly (I'm under way on cellphone):
we are on wkhtmltopdf 0.12.3
the maintainer suggests to try 0.13 alpha

I'll keep you updates once further findings drop in.

Best, Regards
David

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe