コンテンツへスキップ
Odoo メニュー
  • サインイン
  • 無料で15日試す
  • アプリ
    財務
    • 会計
    • 請求
    • 経費
    • スプレッドシート(BI)
    • ドキュメント管理
    • 署名
    販売
    • CRM
    • 販売
    • POS店舗
    • POSレストラン
    • サブスクリプション
    • レンタル
    ウェブサイト
    • ウェブサイトビルダー
    • eコマース
    • ブログ
    • フォーラム
    • ライブチャット
    • eラーニング
    サプライチェーン
    • 在庫
    • 製造
    • 製品ライフサイクル管理 (PLM)
    • 購買
    • 整備
    • 品質
    人事業務
    • 従業員管理
    • 採用
    • 休暇管理
    • 人事評価
    • リファラル
    • フリート
    マーケティング
    • ソーシャルマーケティング
    • メールマーケティング
    • SMSマーケティング
    • イベント
    • マーケティングオートメーション
    • アンケート調査
    サービス
    • プロジェクト管理
    • タイムシート
    • フィールドサービス
    • ヘルプデスク
    • 計画
    • アポイントメント
    生産性向上ツール
    • ディスカッション
    • 承認
    • IoT
    • VoIP
    • ナレッジ
    • WhatsApp
    サードパーティアプリ Odooスタジオ Odooクラウドプラットホーム
  • インダストリー(業種別ソリューション)
    小売
    • 書店
    • アパレルショップ
    • 家具専門店
    • 食料品店
    • 金物店
    • 玩具店
    飲食・ホスピタリティ業界
    • バー・パブ
    • レストラン
    • ファストフード
    • ゲストハウス
    • 飲料販売代理店
    • ホテル
    不動産
    • 不動産会社
    • 建築事務所
    • 建設
    • 不動産管理
    • 造園
    • 住宅所有者組合
    コンサルティング
    • 会計事務所
    • Odooパートナー
    • マーケティングエージェンシー
    • 法律事務所
    • 人材派遣
    • 監査・認証
    製造
    • テキスタイル
    • 金属
    • 家具
    • 飲食
    • 醸造所
    • コーポレートギフト
    ヘルス & フィットネス
    • スポーツクラブ
    • 眼鏡店
    • フィットネスセンター
    • ウェルネス専門家
    • 薬局
    • ヘアサロン
    業種
    • 便利屋
    • IT ハードウェア・サポート
    • 太陽エネルギーシステム
    • 靴メーカー
    • クリーニングサービス
    • 空調設備サービス
    その他
    • 非営利団体
    • 環境機関
    • ビルボードレンタル
    • 写真
    • 自転車リース
    • ソフトウェアリセラー
    すべての業種を見る
  • コミュニティ
    学ぶ
    • チュートリアル
    • ドキュメンテーション
    • 認定
    • トレーニング
    • ブログ
    • ポッドキャスト
    教育サポート
    • 教育プログラム
    • Scale Up! ビジネスゲーム
    • Odooオフィス訪問
    ソフトを入手
    • ダウンロード
    • エディションを比較
    • リリース
    コラボレーション
    • Github
    • フォーラム
    • イベント
    • 翻訳
    • パートナーになる
    • パートナー様向けサービス
    • 会計事務所を登録
    サービス利用
    • パートナー一覧
    • 会計事務所一覧
    • 今すぐ相談する
    • 導入支援サービス
    • お客様一覧
    • サポート
    • アップグレード
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    製品デモを利用する
  • 料金
  • ヘルプ

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • 会計
  • 在庫
  • PoS
  • プロジェクト
  • MRP
All apps
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
ヘルプ

Odoo 14 high idle CPU load and log rotation problem?

購読

この投稿に活動があった際に通知を受け取ります

この質問にフラグが付けられました
deploymentv14
3 返信
7391 ビュー
アバター
Samo Arko

I've installed Odoo 14 CE from source on Ubuntu 20.04 server. It's installed in proxy mode so it's behind nginx. I've created a service for odoo. Same as all my Odoo 12 CE installs.

I used instructions from https://linuxize.com/post/how-to-install-odoo-14-on-ubuntu-20-04 to help me with the install.

My problem is not that even in idle, no one is accessing odoo, the CPUs are at high load. When looking into the log it looks like odoo is restarting every 2  seconds.

LOG:

2021-01-18 06:52:06,595 3470092 DEBUG ? odoo.netsvc: logger level set: "odoo.http.rpc.request:INFO" 
2021-01-18 06:52:06,595 3470092 DEBUG ? odoo.netsvc: logger level set: "odoo.http.rpc.response:INFO" 
2021-01-18 06:52:06,595 3470092 DEBUG ? odoo.netsvc: logger level set: ":INFO" 
2021-01-18 06:52:06,596 3470092 DEBUG ? odoo.netsvc: logger level set: "odoo:DEBUG" 
2021-01-18 06:52:06,596 3470092 DEBUG ? odoo.netsvc: logger level set: "odoo.sql_db:INFO" 
2021-01-18 06:52:06,596 3470092 DEBUG ? odoo.netsvc: logger level set: ":INFO" 
2021-01-18 06:52:06,597 3470092 INFO ? odoo: Odoo version 14.0 
2021-01-18 06:52:06,597 3470092 INFO ? odoo: Using configuration file at /etc/odoo.conf 
2021-01-18 06:52:06,597 3470092 INFO ? odoo: addons paths: ['/opt/odoo/odoo14/odoo/addons', '/opt/odoo/.local/share/Odoo/addons/14.0', '/opt/odoo/odoo14/addons', '/opt/odoo/customaddons', '/opt/odoo/thirdpartyaddons'] 
2021-01-18 06:52:06,598 3470092 INFO ? odoo: database: odoo@default:default 
2021-01-18 06:52:06,850 3470092 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf

The above messages are repeated every 2 seconds. Is this normal for odoo 14 because it didn't in odoo 12.

The second problem is that my logs don't rotate. I've set the logrotate parameter to true but it's juts writing into the same file. Used same settings and permissions as for odoo 12 on Ubuntu 18, but it's not working.

How to fix this issues?

Thanks!


EDIT:

Running the odoo-bin gets error:

<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject





0
アバター
破棄
アバター
Samo Arko
著作者 最善の回答

The high CPU usage was because Ubuntu 20 has python 3.8 and it doesn't work with the libs in requirements.txt.

Had to add a new line and comment out the original line and create a new venv.

gevent>= 20.9; python_version >= '3.8'
#gevent==1.5.0 ; python_version >= '3.7'

Need to see with odoo usage if there are any problems, but there in no more error when launching odoo from odoo-bin.

Hope this will help with the logrotation.

0
アバター
破棄
アバター
Neha Sharma
最善の回答

Hello Samo Arko


In odoo. conf file

#-----------------------------------------------------------------------------

# True/False. If True, create a daily log file and keep 30 files.

#-----------------------------------------------------------------------------

logrotate = True


It seems logrotate parameter works how I needed it. At first, I didn't notice it, maybe not the whole 24h were not passed yet or (sometimes needed to archive log). But now I see it archives logs daily.


Restarting Problem is maybe the server is overloaded or in your service creating you made mistake please make sure you have not run any CRON job is running on Ubuntu or OS level.

Thanks

For more information Contact us: -     https://kanakinfosystems.com/odoo-development-services

0
アバター
破棄
Samo Arko
著作者

I've set the parameter in odoo.conf. I said in the question "I've set the logrotate parameter to true". Still doesn't work. I had it set a few days already and it doesn't work! No cronjobs are running. The problem for the CPU load is that odoo requirements.txt has unsupportet python libs. Libs gevent and greenlet don't work with the specified versions. So I don't know who marked you answer, but your answer didn't solve anything!

アバター
Ray
最善の回答

Hi,

Add this in your odoo.conf file,

logrotate = True

also, check this link

0
アバター
破棄
Samo Arko
著作者

I've set the logrotate parameter in odoo.conf as said in the question, but I'll check out the link, maybe it'll contain something useful. But I need to fix the python lib versions, maybe that is the reason logrotate doesn't work.

ディスカッションを楽しんでいますか?読むだけでなく、参加しましょう!

今すぐアカウントを作成して、限定機能を利用したり、素晴らしいコミュニティと交流しましょう!

登録
関連投稿 返信 ビュー 活動
k8 No such file or directory: '/var/lib/odoo/filestore odoo.exceptions.CacheMiss #388
deployment Odoo13.0 v14
アバター
0
9月 21
7037
Odoo14 alternative for Automated Translations through Gengo API module
v14
アバター
アバター
アバター
アバター
3
9月 25
3639
Odoo Community v14 Slow on High-End Servers, Fast on i5/i7 PCs
v14
アバター
0
8月 25
1066
How to Managing Birthdate and Age in Odoo
v14
アバター
アバター
1
8月 25
3417
Update Initial Stock of Product using XMLRPC API [Odoo14] 解決済
v14
アバター
アバター
アバター
2
7月 25
8999
コミュニティ
  • チュートリアル
  • ドキュメンテーション
  • フォーラム
オープンソース
  • ダウンロード
  • Github
  • Runbot
  • 翻訳
サービス
  • Odoo.shホスティング
  • サポート
  • アップグレード
  • カスタム開発
  • 教育プログラム
  • 会計事務所一覧
  • パートナー一覧
  • パートナーになる
企業情報
  • 会社概要
  • ブランドアセット
  • お問い合わせ
  • 採用情報
  • イベント
  • ポッドキャスト
  • ブログ
  • お客様一覧
  • リーガル情報 • プライバシーポリシー
  • セキュリティ
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo(オドゥー)は、CRM、eコマース、会計、在庫管理、POS、プロジェクト管理など、企業のさまざまな業務を一つのシステムで管理できる、ベルギー発のオープンソースのERPソフトウェアです。

高機能で使いやすく、完全に統合されたERPとして、ユニークな価値を提供しています。

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now