跳至內容
選單
此問題已被標幟
1 回覆
196 瀏覽次數

In everyday use, Odoo appears as connecting, remains loading when switching between modules, and runs slowly.


Sometimes it even says: connection lost, trying to reconnect.


Both from the browser and from the desktop app, on different PCs.


The internet is working correctly; we tested it even during these times.


What could it be? How can it be fixed? It's disappointing.

頭像
捨棄

Hello Sebastian,

Which kind of Odoo do you use? Online version? Wich version?

Séb

最佳答案

Hi,


This issue typically occurs when the Odoo server or database is under heavy load, not properly optimized, or hosted on limited resources. Even if your internet connection is stable, performance problems can arise from factors such as high latency between your location and the server, insufficient RAM or CPU allocation on the hosting server, or unoptimized PostgreSQL queries caused by large datasets or custom modules.


To resolve the issue, start by checking your server performance metrics — CPU, RAM, and disk usage. Ensure that PostgreSQL is well-tuned and that Odoo’s workers and longpolling are configured correctly in the odoo.conf file. If you’re using Odoo.sh or cloud hosting, consider upgrading your plan or checking for background processes that consume excessive resources.


You can also enable Odoo’s developer mode and use the Performance tab to identify slow-loading views or queries. If custom modules are installed, review them for inefficient code or heavy computations. Finally, implementing a reverse proxy (like Nginx), enabling caching, and scheduling regular database maintenance (VACUUM and ANALYZE) can significantly improve response times and eliminate frequent connection interruptions.


Hope it helps

頭像
捨棄