İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2252 Görünümler

When attempting to activate a new feature, the connection is lost ...!

odoo.sh log :  Worker process (pid=94) was killed by signal 9 (most likely hit a memory limit, please check your custom modules memory usage.)"

This message appears in the log, and despite increasing the worker count, the issue remains unresolved

Avatar
Vazgeç

Hi Ibrahim,
Have you tried to configure your limit_memory_soft and limit_memory_hard?

En İyi Yanıt

Hi,

Investigate custom module memory usage:

As the error message suggests, the first step is to analyze your custom modules for any potential memory leaks or inefficient operations. Common culprits include:
Extensive database queries, especially those returning large datasets.
Complex computations that hold intermediate results in memory.
Large data structures that are not properly released after use.
Review your custom module code and try to identify these areas for optimization. You can use profiling tools available for Odoo to pinpoint the specific functions and lines of code consuming excessive memory.

 Adjust worker memory limit (if applicable):
If your server has sufficient physical RAM available, you can try increasing the memory limit for individual worker processes. This can be done by modifying the limit_memory_hard and limit_memory_soft parameters in your Odoo configuration file. Be cautious with this approach, as allocating too much memory per worker can lead to other resource constraints.


Hope it helps

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Tem 25
1931
2
Nis 25
4263
4
Nis 25
12365
5
Mar 25
19444
1
Şub 25
3716