Vauxoo / docker-ubuntu-base

Docker with ubuntu and packages base to use in production
4 stars 8 forks source link

workaround to avoid numpy weird errors #85

Closed moylop260 closed 1 year ago

moylop260 commented 3 years ago

Currently, if numpy is available in the modules even if you are not using it Odoo try to compile and the system is down only for a type of processor

Currently we know 2 server reproducing the error: 1) B&F-production 2) Runbot

More info about:

It is reproducing in the following MR:

Check the following discussion https://odoo-community.org/groups/contributors-15/contributors-186006?mode=thread&date_begin=&date_end=

OpenBLAS creates a number of threads equal to the number of core threads available: 56 in my case (production server), so it quickly reached limit_memory_hard and the process was killed (SIGSEGV) Forcing OPENBLAS_NUM_THREADS=1 fixed the issue.

I just build a image to reproduce the error then I use that environment variable and it is fixed.

So, in order to avoid reproducing this issue in the future we need use it for all images as ENV in the Dockerfile

For all branches

moylop260 commented 3 years ago

@ruiztulio @Angelfentanez agree?

fernandahf commented 3 years ago

For record, this error was solved in:

I will close this issue.